| java.lang.Object com.sun.jbi.ui.common.I18NBundle
I18NBundle | public class I18NBundle (Code) | | This class reads the i18n strings from locale specific bundle from the
Bundle[locale].properties or bundle[locale].properties file in a specified
package. This class has methods for formating the messages.
author: Sun Microsystems, Inc. |
Constructor Summary | |
public | I18NBundle(String packageName) constructor
Parameters: packageName - packe name ( e.g. |
I18NBundle | public I18NBundle(String packageName)(Code) | | constructor
Parameters: packageName - packe name ( e.g. com.sun.mypackage ) in whichto look for Bundle.properties file |
getFormattedMessage | public static String getFormattedMessage(String aI18NMsg, Object[] aArgs)(Code) | | gets the i18n message
Parameters: aI18NMsg - String. Parameters: aArgs - Object[] formated i18n string. |
getMessage | public String getMessage(String aI18NKey, Object[] anArgsArray)(Code) | | gets the i18n message
Parameters: aI18NKey - i18n key Parameters: anArgsArray - array of arguments for the formatted string formatted i18n string |
getMessage | public String getMessage(String aI18NKey)(Code) | | gets the i18n message
Parameters: aI18NKey - i18n key i18n string |
getMessage | public String getMessage(String aI18NKey, Object arg1)(Code) | | gets the i18n message
Parameters: aI18NKey - i18n key Parameters: arg1 - argrument object to message i18n string |
getMessage | public String getMessage(String aI18NKey, Object arg1, Object arg2)(Code) | | gets the i18n message
Parameters: aI18NKey - i18n key Parameters: arg1 - argrument object to message Parameters: arg2 - argrument object to message i18n string |
getMessage | public String getMessage(String aI18NKey, Object arg1, Object arg2, Object arg3)(Code) | | gets the i18n message
Parameters: aI18NKey - i18n key Parameters: arg1 - argrument object to message Parameters: arg2 - argrument object to message Parameters: arg3 - argrument object to message i18n string |
main | public static void main(String[] args)(Code) | | main
Parameters: args - string array. |
|
|