org.pentaho.reporting.libraries.formula.function.text
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLEncodeFunction
public URLEncodeFunction()
evaluate
public TypeValuePair evaluate(FormulaContext context,
ParameterCallback parameters)
throws EvaluationException
- Specified by:
evaluate
in interface Function
- Throws:
EvaluationException
getCanonicalName
public java.lang.String getCanonicalName()
- Specified by:
getCanonicalName
in interface Function