org.jext.xml
Class XPropertiesReader

java.lang.Object
  extended byorg.jext.xml.XPropertiesReader

public class XPropertiesReader
extends java.lang.Object


Constructor Summary
XPropertiesReader()
           
 
Method Summary
static boolean read(java.io.InputStream fileStream, java.lang.String name)
          This method loads XML properties from the specified InputStream or from the translated file named "name".
static boolean read(java.io.InputStream fileStream, java.lang.String name, boolean toTranslate)
          If toTranslate is true, it behaves just like read(InputStream, String); else it loads XML properties from the specified InputStream, which must be the right(i.e.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPropertiesReader

public XPropertiesReader()
Method Detail

read

public static boolean read(java.io.InputStream fileStream,
                           java.lang.String name)
This method loads XML properties from the specified InputStream or from the translated file named "name". So the caller should not provide the translated one(that is, calling getLanguageString to obtain parameters.


read

public static boolean read(java.io.InputStream fileStream,
                           java.lang.String name,
                           boolean toTranslate)
If toTranslate is true, it behaves just like read(InputStream, String); else it loads XML properties from the specified InputStream, which must be the right(i.e. already translated) one.

Since:
Jext3.2pre1


Copyright © 2002 Romain Guy.