public class TranslateFunction extends Object implements Function
4.2 string translate(string,string,string)
The translation is done thru a HashMap.
Performance tip (for anyone who needs to improve the performance of this particular function):
Cache the HashMaps, once they are constructed.
public Object call(Context context, List args) throws FunctionCallException
Functioncall in interface Functioncontext - The context at the point in the
expression when the function is called.args - List of arguments provided during
the call of the function.FunctionCallExceptionCopyright © 2013. All Rights Reserved.