com.itextpdf.tool.xml.svg.exceptions
Class LocaleMessages

java.lang.Object
  extended by com.itextpdf.tool.xml.svg.exceptions.LocaleMessages

public class LocaleMessages
extends Object


Field Summary
static String TRANSFORM_FORMAT_EXCEPTION
           
 
Constructor Summary
LocaleMessages()
           
LocaleMessages(Locale locale)
           
 
Method Summary
static LocaleMessages getInstance()
          Returns the LocaleMessages with as Locale the default jvm locale.
 String getMessage(String key)
          Fetches the message belonging to the key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRANSFORM_FORMAT_EXCEPTION

public static final String TRANSFORM_FORMAT_EXCEPTION
See Also:
Constant Field Values
Constructor Detail

LocaleMessages

public LocaleMessages()

LocaleMessages

public LocaleMessages(Locale locale)
Parameters:
locale - the Locale to use.
Method Detail

getInstance

public static LocaleMessages getInstance()
Returns the LocaleMessages with as Locale the default jvm locale.

Returns:
a singleton instance of LocaleMessages

getMessage

public String getMessage(String key)
Fetches the message belonging to the key.

Parameters:
key - the key for the message
Returns:
the message


Copyright © 2012. All Rights Reserved.