|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.isi.powerloom.gui.common.Preferences
This class provides facilities for loading and saving application preferences to and from a property file.
Field Summary | |
static java.lang.String |
BROWSE_ON_START
|
static java.lang.String |
HOST
|
static java.lang.String |
LOAD_PATH
|
static java.lang.String |
PORT
|
static java.lang.String |
SAVED_QUERIES
|
Method Summary | |
boolean |
getBooleanProperty()
Insert the method's description here. |
boolean |
getBooleanProperty(java.lang.String property)
Insert the method's description here. |
static Preferences |
getInstance()
|
java.lang.String |
getProperty(java.lang.String propName)
|
void |
load()
|
static void |
main(java.lang.String[] args)
|
void |
save()
|
void |
setBooleanProperty(java.lang.String prop,
boolean value)
Insert the method's description here. |
void |
setBooleanProperty(java.lang.String prop,
java.lang.String value)
Insert the method's description here. |
void |
setProperty(java.lang.String propName,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SAVED_QUERIES
public static final java.lang.String HOST
public static final java.lang.String PORT
public static final java.lang.String LOAD_PATH
public static final java.lang.String BROWSE_ON_START
Method Detail |
public boolean getBooleanProperty()
public boolean getBooleanProperty(java.lang.String property)
public static Preferences getInstance()
public java.lang.String getProperty(java.lang.String propName)
public void load()
public static void main(java.lang.String[] args)
public void save()
public void setBooleanProperty(java.lang.String prop, java.lang.String value)
prop
- java.lang.Stringvalue
- java.lang.Stringpublic void setBooleanProperty(java.lang.String prop, boolean value)
prop
- java.lang.Stringvalue
- java.lang.Stringpublic void setProperty(java.lang.String propName, java.lang.String value)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |