Class URLEncodeFunction
- java.lang.Object
-
- org.pentaho.reporting.libraries.formula.function.text.URLEncodeFunction
-
- All Implemented Interfaces:
java.io.Serializable,Function
public class URLEncodeFunction extends java.lang.Object implements Function
This function encodes a given text using the URL-Encoding schema. An optional second parameter can be given to specify the character encoding that should be used when converting text to bytes.- Author:
- Cedric Pronzato
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description URLEncodeFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeValuePairevaluate(FormulaContext context, ParameterCallback parameters)java.lang.StringgetCanonicalName()
-
-
-
Method Detail
-
evaluate
public TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters) throws EvaluationException
- Specified by:
evaluatein interfaceFunction- Throws:
EvaluationException
-
getCanonicalName
public java.lang.String getCanonicalName()
- Specified by:
getCanonicalNamein interfaceFunction
-
-