|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xml.security.utils.I18n
public class I18n
The Internationalization (I18N) pack.
| Field Summary | |
|---|---|
static java.lang.String |
NOT_INITIALIZED_MSG
Field NOT_INITIALIZED_MSG |
| Method Summary | |
|---|---|
static java.lang.String |
getExceptionMessage(java.lang.String msgID)
Method getExceptionMessage |
static java.lang.String |
getExceptionMessage(java.lang.String msgID,
java.lang.Exception originalException)
Method getExceptionMessage |
static java.lang.String |
getExceptionMessage(java.lang.String msgID,
java.lang.Object[] exArgs)
Method getExceptionMessage |
static void |
init(java.lang.String languageCode,
java.lang.String countryCode)
Method init |
static java.lang.String |
translate(java.lang.String message)
Method translate translates a message ID into an internationalized String, see also XMLSecurityException.getExceptionMessage() |
static java.lang.String |
translate(java.lang.String message,
java.lang.Object[] args)
Method translate translates a message ID into an internationalized String, see alse XMLSecurityException.getExceptionMEssage(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NOT_INITIALIZED_MSG
| Method Detail |
|---|
public static java.lang.String translate(java.lang.String message,
java.lang.Object[] args)
XMLSecurityException.getExceptionMEssage(). The strings are
stored in the ResourceBundle, which is identified in
exceptionMessagesResourceBundleBase
message - args - is an Object[] array of strings which are inserted into
the String which is retrieved from the ResouceBundle
public static java.lang.String translate(java.lang.String message)
XMLSecurityException.getExceptionMessage()
message -
public static java.lang.String getExceptionMessage(java.lang.String msgID)
msgID -
public static java.lang.String getExceptionMessage(java.lang.String msgID,
java.lang.Exception originalException)
msgID - originalException -
public static java.lang.String getExceptionMessage(java.lang.String msgID,
java.lang.Object[] exArgs)
msgID - exArgs -
public static void init(java.lang.String languageCode,
java.lang.String countryCode)
languageCode - countryCode -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||