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. |
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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
- Constant Field Values
LocaleTranslator
public LocaleTranslator()
- Constructor for LocaleTranslator.
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
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.