org.apache.batik.apps.rasterizer
Class Messages

java.lang.Object
  extended byorg.apache.batik.apps.rasterizer.Messages

public class Messages
extends Object

This class manages the message for the bridge module.


Field Summary
protected static LocalizableSupport localizableSupport
          The localizable support for the error messages.
protected static String RESOURCES
          The error messages bundle class name.
 
Constructor Summary
protected Messages()
          This class does not need to be instantiated.
 
Method Summary
static String formatMessage(String key, Object[] args)
          Implements Localizable.formatMessage(String,Object[]).
static String get(String key)
           
static String get(String key, String def)
           
static Locale getLocale()
          Implements Localizable.getLocale().
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

RESOURCES

protected static final 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.

Constructor Detail

Messages

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

Method Detail

setLocale

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


getLocale

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


formatMessage

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

Throws:
MissingResourceException

get

public static String get(String key)
                  throws MissingResourceException
Throws:
MissingResourceException

get

public static String get(String key,
                         String def)


Copyright © 2009 Apache Software Foundation. All Rights Reserved.