com.infoteria.asteria.util.xml
Class PropertyFile

java.lang.Object
  |
  +--com.infoteria.asteria.util.xml.PropertyFile

public class PropertyFile
extends Object


Constructor Summary
PropertyFile(File propertyFile)
           
 
Method Summary
 void add(String key, String value)
           
protected  boolean exists()
           
 String get(String key)
           
protected  void init()
           
 void remove(String key)
           
 void save()
           
protected  Set stringPropertyNames()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyFile

public PropertyFile(File propertyFile)
             throws IOException
Method Detail

init

protected void init()
             throws IOException

exists

protected boolean exists()

stringPropertyNames

protected Set stringPropertyNames()

get

public String get(String key)

remove

public void remove(String key)

add

public void add(String key,
                String value)

save

public void save()
          throws FileNotFoundException,
                 IOException