Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.scoja.server.expr
Class WithoutLinesFunction  view WithoutLinesFunction download WithoutLinesFunction.java

java.lang.Object
  extended byorg.scoja.server.expr.StringExpressionAtPython
      extended byorg.scoja.server.expr.String2StringFunction
          extended byorg.scoja.server.expr.WithoutLinesFunction
All Implemented Interfaces:
StringExpression

public class WithoutLinesFunction
extends String2StringFunction

Remove end of lines from an String. Both CR and LF are considered line enders. White space (space, CR, LF, tabs, ..) after an end of line is removed.

At configuration files, it is mapped to withoutEOLN function.


Field Summary
 
Fields inherited from class org.scoja.server.expr.String2StringFunction
subexpr1
 
Constructor Summary
WithoutLinesFunction(StringExpression subexpr)
           
 
Method Summary
 org.scoja.server.core.QStr eval(org.scoja.server.core.EventContext env)
           
 
Methods inherited from class org.scoja.server.expr.StringExpressionAtPython
__eq__
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WithoutLinesFunction

public WithoutLinesFunction(StringExpression subexpr)
Method Detail

eval

public org.scoja.server.core.QStr eval(org.scoja.server.core.EventContext env)
Specified by:
eval in interface StringExpression
Overrides:
eval in class String2StringFunction