java.lang.Object
io.sf.carte.echosvg.util.Messages
This class manages the message for the security utilities
-
Field Summary
Modifier and TypeFieldDescriptionprotected static LocalizableSupport
The localizable support for the error messages.protected static ResourceManager
The resource manager to decode messages.protected static final String
The error messages bundle class name. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
formatMessage
(String key, Object[] args) ImplementsLocalizable.formatMessage(String,Object[])
.static int
getCharacter
(String key) static int
getInteger
(String key) static Locale
ImplementsLocalizable.getLocale()
.static String
static void
ImplementsLocalizable.setLocale(Locale)
.
-
Field Details
-
RESOURCES
The error messages bundle class name.- See Also:
-
localizableSupport
The localizable support for the error messages. -
resourceManager
The resource manager to decode messages.
-
-
Constructor Details
-
Messages
protected Messages()This class does not need to be instantiated.
-
-
Method Details
-
setLocale
ImplementsLocalizable.setLocale(Locale)
. -
getLocale
ImplementsLocalizable.getLocale()
. -
formatMessage
ImplementsLocalizable.formatMessage(String,Object[])
.- Throws:
MissingResourceException
-
getString
- Throws:
MissingResourceException
-
getInteger
- Throws:
MissingResourceException
-
getCharacter
- Throws:
MissingResourceException
-