| Modifier and Type | Field and Description |
|---|---|
| private static boolean | alreadyInitialized
Field alreadyInitialized |
| public static final String | NOT_INITIALIZED_MSG
Field NOT_INITIALIZED_MSG |
| private static ResourceBundle | resourceBundle
Field resourceBundle |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static String | Returns: message translatedMethod getExceptionMessage |
| public static String | Returns: message translatedMethod getExceptionMessage |
| public static synchronized void | |
| public static synchronized void | |
| public static String | Returns: message translatedis an args)Object[] array of strings which are inserted into
the String which is retrieved from the ResouceBundleMethod translate
translates a message ID into an internationalized String, see also
|
| public static String |
| alreadyInitialized | back to summary |
|---|---|
| private static boolean alreadyInitialized Field alreadyInitialized | |
| NOT_INITIALIZED_MSG | back to summary |
|---|---|
| public static final String NOT_INITIALIZED_MSG Field NOT_INITIALIZED_MSG | |
| resourceBundle | back to summary |
|---|---|
| private static ResourceBundle resourceBundle Field resourceBundle | |
| I18n | back to summary |
|---|---|
| private I18n() Constructor I18n | |
| getExceptionMessage | back to summary |
|---|---|
| public static String getExceptionMessage(String msgID) Method getExceptionMessage
| |
| getExceptionMessage | back to summary |
|---|---|
| public static String getExceptionMessage(String msgID, Exception originalException) Method getExceptionMessage
| |
| getExceptionMessage | back to summary |
|---|---|
| public static String getExceptionMessage(String msgID, Object[] exArgs) Method getExceptionMessage
| |
| init | back to summary |
|---|---|
| public static synchronized void init(String languageCode, String countryCode) Method init | |
| init | back to summary |
|---|---|
| public static synchronized void init(ResourceBundle resourceBundle) Method init | |
| translate | back to summary |
|---|---|
| public static String translate(String message, Object[] args) Method translate
translates a message ID into an internationalized String, see also
| |
| translate | back to summary |
|---|---|
| public static String translate(String message) Method translate
translates a message ID into an internationalized String, see also
| |