|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.pow2.resources.PropertyContainerImpl
com.pow2.resources.Prefs
Prefs class
| Field Summary |
| Fields inherited from class com.pow2.resources.PropertyContainerImpl |
cat, properties |
| Method Summary | |
void |
configure()
Configure the Prefs class using the properties file defined by propertiesFile class member attribute. |
void |
configure(String propertiesFile)
Configure the Prefs class using the input properties file. |
String |
getpropertiesFile()
Get the name of the properties file. |
static Prefs |
instance()
Get the instance of Prefs class. |
void |
setpropertiesFile(String v)
Set the name of the properties file. |
String |
toString()
Get a String with the list of all the Prefs properties. |
| Methods inherited from class com.pow2.resources.PropertyContainerImpl |
addProperty, getObject, getProperty, getPropertyKeys, removeProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public static Prefs instance()
public String getpropertiesFile()
public void setpropertiesFile(String v)
v - the name of the properties file.
public void configure()
throws Exception
propertiesFile class member attribute.
Exception - if any error occurs
public void configure(String propertiesFile)
throws Exception
propertiesFile - the full path name of the properties file
Exception - if any error occurspublic String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||