org.nuiton.i18n
Class I18nFileReader

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<java.lang.Object,java.lang.Object>
          extended by java.util.Properties
              extended by org.nuiton.i18n.I18nFileReader
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>

public class I18nFileReader
extends java.util.Properties

Classe assurant la lecture et les possibles traitement nécessaires à I18n.

See Also:
Serialized Form

Field Summary
protected static java.util.regex.Pattern commentPattern
           
protected static java.util.regex.Pattern splitPattern
           
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
I18nFileReader()
           
 
Method Summary
protected  java.lang.String interpretBackslashes(java.lang.String message)
           
 void load(java.io.InputStream inStream, java.lang.String encodingTo)
           
protected  java.lang.String serializeBackslashes(java.lang.String message)
           
 
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
 

Field Detail

commentPattern

protected static final java.util.regex.Pattern commentPattern

splitPattern

protected static final java.util.regex.Pattern splitPattern
Constructor Detail

I18nFileReader

public I18nFileReader()
Method Detail

load

public void load(java.io.InputStream inStream,
                 java.lang.String encodingTo)
          throws java.io.IOException
Throws:
java.io.IOException

interpretBackslashes

protected java.lang.String interpretBackslashes(java.lang.String message)

serializeBackslashes

protected java.lang.String serializeBackslashes(java.lang.String message)


Copyright © 2004-2009 CodeLutin. All Rights Reserved.