|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.devaki.nextobjects.util.NOPreferences
This class containts all properties load-dump plus some usefull functions
Field Summary | |
static java.lang.String |
APP_HOME
Directory of nextObjects |
static java.util.Vector |
TORQUE_DB
List of supported database engines |
static java.util.Vector |
TORQUE_TYPES
List of supported datatypes |
Constructor Summary | |
NOPreferences()
Construct a 'NOPreference' object. |
Method Summary | |
static java.util.Properties |
getAppProperties()
Get all the properties |
static java.lang.String |
getProperty(java.lang.String pKey)
Give a reference to the app Properties. |
void |
loadProperties()
Load preferences from the 'NO_PREFS' properties file |
void |
loadTorqueType()
Load torque types. |
static void |
saveProperties()
Save preferences to the 'NO_PREFS' properties file |
static void |
setProperty(java.lang.String pKey,
java.lang.String pValue)
Set property |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static java.lang.String APP_HOME
public static final java.util.Vector TORQUE_DB
public static final java.util.Vector TORQUE_TYPES
Constructor Detail |
public NOPreferences()
Method Detail |
public void loadTorqueType()
public void loadProperties()
public static void saveProperties()
public static java.lang.String getProperty(java.lang.String pKey)
public static java.util.Properties getAppProperties()
public static void setProperty(java.lang.String pKey, java.lang.String pValue)
pKey
- the keypValue
- the value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |