Package org.apache.batik.css.engine
Class Messages
- java.lang.Object
-
- org.apache.batik.css.engine.Messages
-
public class Messages extends java.lang.ObjectThis class manages the message for the css.engine module.- Version:
- $Id: Messages.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Field Summary
Fields Modifier and Type Field Description protected static LocalizableSupportlocalizableSupportThe localizable support for the error messages.protected static java.lang.StringRESOURCESThe error messages bundle class name.
-
Constructor Summary
Constructors Modifier Constructor Description protectedMessages()This class does not need to be instantiated.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringformatMessage(java.lang.String key, java.lang.Object[] args)ImplementsLocalizable.formatMessage(String,Object[]).static java.util.LocalegetLocale()ImplementsLocalizable.getLocale().static voidsetLocale(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.MissingResourceExceptionImplementsLocalizable.formatMessage(String,Object[]).- Throws:
java.util.MissingResourceException
-
-