|
|||||||||
| Home >> All >> org >> apache >> batik >> [ i18n overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.batik.i18n
Interface Localizable

- All Known Subinterfaces:
- ExtendedLocalizable
- All Known Implementing Classes:
- LocalizableSupport
- public interface Localizable
This interface must be implemented by the classes which must provide a way to override the default locale.
- Version:
- $Id: Localizable.java,v 1.3 2004/08/18 07:14:45 vhardy Exp $
| Method Summary | |
java.lang.String |
formatMessage(java.lang.String key,
java.lang.Object[] args)
Creates and returns a localized message, given the key of the message in the resource bundle and the message parameters. |
java.util.Locale |
getLocale()
Returns the current locale or null if the locale currently used is the default one. |
void |
setLocale(java.util.Locale l)
Provides a way to the user to specify a locale which override the default one. |
| Method Detail |
setLocale
public void setLocale(java.util.Locale l)
- Provides a way to the user to specify a locale which override the
default one. If null is passed to this method, the used locale
becomes the global one.
getLocale
public java.util.Locale getLocale()
- Returns the current locale or null if the locale currently used is
the default one.
formatMessage
public java.lang.String formatMessage(java.lang.String key, java.lang.Object[] args) throws java.util.MissingResourceException
- Creates and returns a localized message, given the key of the message
in the resource bundle and the message parameters.
The messages in the resource bundle must have the syntax described in
the java.text.MessageFormat class documentation.
|
|||||||||
| Home >> All >> org >> apache >> batik >> [ i18n overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC