Package org.apache.batik.util.io
Class Messages
- java.lang.Object
-
- org.apache.batik.util.io.Messages
-
public class Messages extends java.lang.Object
This class manages the message for the IO utilities classes.
-
-
Field Summary
Fields Modifier and Type Field Description protected static LocalizableSupport
localizableSupport
The localizable support for the error messages.protected static java.lang.String
RESOURCES
The error messages bundle class name.
-
Constructor Summary
Constructors Modifier Constructor Description protected
Messages()
This class does not need to be instantiated.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
formatMessage(java.lang.String key, java.lang.Object[] args)
ImplementsLocalizable.formatMessage(String,Object[])
.static java.util.Locale
getLocale()
ImplementsLocalizable.getLocale()
.static void
setLocale(java.util.Locale l)
ImplementsLocalizable.setLocale(Locale)
.
-
-
-
Field Detail
-
RESOURCES
protected static final java.lang.String RESOURCES
The error messages bundle class name.- See Also:
- Constant Field Values
-
localizableSupport
protected static LocalizableSupport localizableSupport
The localizable support for the error messages.
-
-
Method Detail
-
setLocale
public static void setLocale(java.util.Locale l)
ImplementsLocalizable.setLocale(Locale)
.
-
getLocale
public static java.util.Locale getLocale()
ImplementsLocalizable.getLocale()
.
-
formatMessage
public static java.lang.String formatMessage(java.lang.String key, java.lang.Object[] args) throws java.util.MissingResourceException
ImplementsLocalizable.formatMessage(String,Object[])
.- Throws:
java.util.MissingResourceException
-
-