com.infoteria.asteria.util.xml
Class PropertyFile
java.lang.Object
|
+--com.infoteria.asteria.util.xml.PropertyFile
- public class PropertyFile
- extends java.lang.Object
|
Method Summary |
void |
add(java.lang.String key,
java.lang.String value)
|
java.lang.String |
get(java.lang.String key)
|
protected void |
init()
|
void |
remove(java.lang.String key)
|
void |
save()
|
protected java.util.Set |
stringPropertyNames()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyFile
public PropertyFile(java.lang.String confName)
throws java.io.IOException
init
protected void init()
throws java.io.IOException
stringPropertyNames
protected java.util.Set stringPropertyNames()
get
public java.lang.String get(java.lang.String key)
remove
public void remove(java.lang.String key)
add
public void add(java.lang.String key,
java.lang.String value)
save
public void save()
throws java.io.FileNotFoundException,
java.io.IOException