org.pentaho.reporting.libraries.formula.function.text
Class RightFunction

java.lang.Object
  extended by org.pentaho.reporting.libraries.formula.function.text.RightFunction
All Implemented Interfaces:
Serializable, Function

public class RightFunction
extends Object
implements Function

This function returns a selected number of text characters from the right.
This function depends on MidFunction.

Author:
Cedric Pronzato
See Also:
MidFunction, Serialized Form

Constructor Summary
RightFunction()
           
 
Method Summary
 TypeValuePair evaluate(FormulaContext context, ParameterCallback parameters)
           
 String getCanonicalName()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RightFunction

public RightFunction()
Method Detail

evaluate

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

getCanonicalName

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