org.jfree.formula.function.text

Class URLEncodeFunction

Implemented Interfaces:
Function, Serializable

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

Constructor Summary

URLEncodeFunction()

Method Summary

TypeValuePair
evaluate(FormulaContext context, ParameterCallback parameters)
String
getCanonicalName()

Constructor Details

URLEncodeFunction

public URLEncodeFunction()

Method Details

evaluate

public TypeValuePair evaluate(FormulaContext context,
                              ParameterCallback parameters)
            throws EvaluationException
Specified by:
evaluate in interface Function

getCanonicalName

public String getCanonicalName()
Specified by:
getCanonicalName in interface Function