com.ibm.commerce.ras
Class LocaleTranslator

java.lang.Object
  com.ibm.commerce.ras.LocaleTranslator

public class LocaleTranslator
extends java.lang.Object

LocaleTranslator is used to translate the message to specific locale.


Field Summary
static java.lang.String COPYRIGHT
IBM copyright notice field.
Constructor Summary
LocaleTranslator()
Constructor for LocaleTranslator.
Method Summary
java.lang.String getTranslation(ECMessage ecmsg, java.lang.Object[] parms)
Uses the resource bundle to get the translation of the message.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values
Constructor Detail

LocaleTranslator

public LocaleTranslator()
Constructor for LocaleTranslator.
Method Detail

getTranslation

public java.lang.String getTranslation(ECMessage ecmsg,
                                       java.lang.Object[] parms)
Uses the resource bundle to get the translation of the message. The default is used for the translation.
Parameters:
ecmsg - message object
parms - the list of parameters that will be substituted into the message text
Returns:
the translated message text

Feedback