|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--java.util.Properties
|
+--auc.utility.AbstractProperties
Abstract class for storing properties. It provides method for property retrieval and storing to a file. Subsclasses should set the property file name, and override getInstance() method.
| Inner classes inherited from class java.util.Map |
java.util.Map.Entry |
| Field Summary | |
protected static java.lang.String |
DESCRIPTION
|
protected static java.lang.String |
PROPERTY_FILE_NAME
|
| Fields inherited from class java.util.Properties |
defaults |
| Constructor Summary | |
protected |
AbstractProperties()
|
| Method Summary | |
java.lang.String |
getPropertyFileName()
|
void |
save()
|
| Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, propertyNames, save, setProperty, store |
| 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 |
protected static java.lang.String PROPERTY_FILE_NAME
protected static java.lang.String DESCRIPTION
| Constructor Detail |
protected AbstractProperties()
| Method Detail |
public java.lang.String getPropertyFileName()
public void save()
throws java.io.FileNotFoundException,
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||