java.lang.Object
io.sf.carte.echosvg.util.Messages
This class manages the message for the security utilities
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static LocalizableSupportThe localizable support for the error messages.protected static ResourceManagerThe resource manager to decode messages.protected static final StringThe error messages bundle class name. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringformatMessage(String key, Object[] args) ImplementsLocalizable.formatMessage(String,Object[]).static intgetCharacter(String key) static intgetInteger(String key) static LocaleImplementsLocalizable.getLocale().static Stringstatic voidImplementsLocalizable.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
-