org.apache.batik.apps.svgbrowser
Class Resources

java.lang.Object
  |
  +--org.apache.batik.apps.svgbrowser.Resources

public class Resources
extends java.lang.Object

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 java.lang.String RESOURCES
          The error messages bundle class name.
 
Constructor Summary
protected Resources()
          This class does not need to be instantiated.
 
Method Summary
static java.lang.String formatMessage(java.lang.String key, java.lang.Object[] args)
          Implements Localizable.formatMessage(String,Object[]).
static int getCharacter(java.lang.String key)
           
static int getInteger(java.lang.String key)
           
static java.util.Locale getLocale()
          Implements Localizable.getLocale().
static java.lang.String getString(java.lang.String key)
           
static void setLocale(java.util.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

RESOURCES

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

localizableSupport

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

resourceManager

protected static ResourceManager resourceManager
The resource manager to decode messages.
Constructor Detail

Resources

protected Resources()
This class does not need to be instantiated.
Method Detail

setLocale

public static void setLocale(java.util.Locale l)
Implements Localizable.setLocale(Locale).

getLocale

public static java.util.Locale getLocale()
Implements Localizable.getLocale().

formatMessage

public static java.lang.String formatMessage(java.lang.String key,
                                             java.lang.Object[] args)
                                      throws java.util.MissingResourceException
Implements Localizable.formatMessage(String,Object[]).

getString

public static java.lang.String getString(java.lang.String key)
                                  throws java.util.MissingResourceException

getInteger

public static int getInteger(java.lang.String key)
                      throws java.util.MissingResourceException

getCharacter

public static int getCharacter(java.lang.String key)
                        throws java.util.MissingResourceException


Copyright © 2002 Apache Software Foundation. All Rights Reserved.