Class URLEncodeFunction
java.lang.Object
org.pentaho.reporting.libraries.formula.function.text.URLEncodeFunction
- All Implemented Interfaces:
Serializable
,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:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
URLEncodeFunction
public URLEncodeFunction()
-
-
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
-