org.apache.batik.bridge

Class Messages

public class Messages extends Object

This class manages the message for the bridge module.
Field Summary
protected static LocalizableSupportlocalizableSupport
The localizable support for the error messages.
protected static StringRESOURCES
The error messages bundle class name.
Constructor Summary
protected Messages()
This class does not need to be instantiated.
Method Summary
static StringformatMessage(String key, Object[] args)
Implements {@link org.apache.batik.i18n.Localizable#formatMessage(String,Object[])}.
static LocalegetLocale()
Implements {@link org.apache.batik.i18n.Localizable#getLocale()}.
static StringgetMessage(String key)
static voidsetLocale(Locale l)
Implements {@link org.apache.batik.i18n.Localizable#setLocale(Locale)}.

Field Detail

localizableSupport

protected static LocalizableSupport localizableSupport
The localizable support for the error messages.

RESOURCES

protected static final String RESOURCES
The error messages bundle class name.

Constructor Detail

Messages

protected Messages()
This class does not need to be instantiated.

Method Detail

formatMessage

public static String formatMessage(String key, Object[] args)
Implements {@link org.apache.batik.i18n.Localizable#formatMessage(String,Object[])}.

getLocale

public static Locale getLocale()
Implements {@link org.apache.batik.i18n.Localizable#getLocale()}.

getMessage

public static String getMessage(String key)

setLocale

public static void setLocale(Locale l)
Implements {@link org.apache.batik.i18n.Localizable#setLocale(Locale)}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.