com.multisoftgroup.jerry.webchat.util
Class I18nResources

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by com.multisoftgroup.jerry.webchat.util.I18nResources
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class I18nResources
extends Properties

This class provides access to i18n resource file. The resource file should be defined in jerry.xml configuration file:

<language fileCharset="charset" filePath="pathto_file" />

Author:
Pavel Savin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
I18nResources(String path, String charset)
           
 
Method Summary
 String getText(String key)
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

I18nResources

public I18nResources(String path,
                     String charset)
              throws IOException
Throws:
IOException
Method Detail

getText

public String getText(String key)