Class TrimFunction
java.lang.Object
org.pentaho.reporting.libraries.formula.function.text.TrimFunction
- All Implemented Interfaces:
Serializable
,Function
This function returns the given text free of leading spaces.
Removes all leading and trailing spaces and all extra spaces inside the text.
- Author:
- Cedric Pronzato
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TrimFunction
public TrimFunction()
-
-
Method Details
-
evaluate
public TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters) throws EvaluationException - Specified by:
evaluate
in interfaceFunction
- Throws:
EvaluationException
-
getCanonicalName
- Specified by:
getCanonicalName
in interfaceFunction
-