|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.pentec.adapt.AProperties
public class AProperties
Hold user preferences. Save to adapt.properties in config\properties.jar.
| Field Summary | |
|---|---|
protected java.lang.String |
$PropertiesDirName
Directory containing adapt's user level properties file. |
protected java.lang.String |
$PropertiesFileName
Jar file containing adapt's user level properties file |
protected java.util.Properties |
defaultProperties
|
protected java.util.Properties |
properties
|
| Constructor Summary | |
|---|---|
AProperties()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDefaultProperty(java.lang.String $PropertyName)
|
java.lang.String[] |
getKeys()
|
java.lang.String |
getProperty(java.lang.String $PropertyName)
|
void |
load()
Load the default properties from adapt.jar. |
void |
run()
|
void |
save()
Save the properties to properties.jar. |
void |
setProperty(java.lang.String $PropertyName,
java.lang.String $PropertyValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final java.lang.String $PropertiesDirName
protected final java.lang.String $PropertiesFileName
protected java.util.Properties defaultProperties
protected java.util.Properties properties
| Constructor Detail |
|---|
public AProperties()
| Method Detail |
|---|
public java.lang.String getDefaultProperty(java.lang.String $PropertyName)
public java.lang.String[] getKeys()
public java.lang.String getProperty(java.lang.String $PropertyName)
public void load()
public void run()
run in interface java.lang.Runnablepublic void save()
public void setProperty(java.lang.String $PropertyName,
java.lang.String $PropertyValue)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||