com.multisoftgroup.jerry.webchat.util
Class I18nResources
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
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
| 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 |
I18nResources
public I18nResources(String path,
String charset)
throws IOException
- Throws:
IOException
getText
public String getText(String key)