|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.apps.svgbrowser.Resources
This class manages the message for the Swing extensions.
Field Summary | |
protected static LocalizableSupport |
localizableSupport
The localizable support for the error messages. |
protected static ResourceManager |
resourceManager
The resource manager to decode messages. |
protected static String |
RESOURCES
The error messages bundle class name. |
Constructor Summary | |
protected |
Resources()
This class does not need to be instantiated. |
Method Summary | |
static String |
formatMessage(String key,
Object[] args)
Implements Localizable.formatMessage(String,Object[]) . |
static int |
getCharacter(String key)
|
static int |
getInteger(String key)
|
static Locale |
getLocale()
Implements Localizable.getLocale() . |
static String |
getString(String key)
|
static void |
setLocale(Locale l)
Implements Localizable.setLocale(Locale) . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final String RESOURCES
protected static LocalizableSupport localizableSupport
protected static ResourceManager resourceManager
Constructor Detail |
protected Resources()
Method Detail |
public static void setLocale(Locale l)
Localizable.setLocale(Locale)
.
public static Locale getLocale()
Localizable.getLocale()
.
public static String formatMessage(String key, Object[] args) throws MissingResourceException
Localizable.formatMessage(String,Object[])
.
MissingResourceException
public static String getString(String key) throws MissingResourceException
MissingResourceException
public static int getInteger(String key) throws MissingResourceException
MissingResourceException
public static int getCharacter(String key) throws MissingResourceException
MissingResourceException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |