|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
java.util.Properties
org.gersteinlab.tyna.webapp.config.Config
This class provides methods for accessing the configuration settings stored in the default property file. Each line of the file corresponds to a configuration, in the format= .
| Field Summary | |
protected static Config |
config
The singleton object. |
protected static java.lang.String |
configFile
Name of the configuration file. |
| Fields inherited from class java.util.Properties |
defaults |
| Method Summary | |
static Config |
newInstance()
Get an instance of the class. |
| 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 final java.lang.String configFile
protected static Config config
| Method Detail |
public static Config newInstance()
throws ConfigException
ConfigException - If there is any problem in getting the new instance
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||