|
JEphem site tig API Build classes |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.Dictionary | +--java.util.Hashtable | +--java.util.Properties | +--tig.TigProperties | +--jephem.JEphemPrefs
Class permitting to access to the general preferences of JEphem.
At program startup, an instance is loaded, and can be accessed through jephem.GlobalVar.getJEphemPrefs()
.
Example of use :
JEphemPrefs prefs = new JEphemPrefs(); String lang = (String)prefs.getJEphemPrefs().get(JEphemPrefs.KEY_LANG);
Nested Class Summary |
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Field Summary | |
static java.lang.String |
KEY_COUNTRY
Constant to use as a key to access to the 'country' property of this preference. |
static java.lang.String |
KEY_LAF
Constant to use as a key to access to the 'look and feel' property of this preference. |
static java.lang.String |
KEY_LANG
Constant to use as a key to access to the 'language' property of this preference - "lang". |
Fields inherited from class java.util.Properties |
defaults |
Fields inherited from interface tig.GeneralConstants |
BLANK, FS, LS, NO_SPECIF, SPACE |
Constructor Summary | |
JEphemPrefs()
Unique constructor. |
Method Summary | |
void |
store()
Stores these preferences in the appropriate file with the appropriate header. |
Methods inherited from class tig.TigProperties |
getBooleanProperty, getBooleanProperty, getDoubleProperty, getDoubleProperty, getIntArrayProperty, getIntArrayProperty, getIntConstant, getIntProperty, getIntProperty, setBooleanProperty, setDoubleProperty, setIntArrayProperty, setIntProperty |
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 |
public static final java.lang.String KEY_COUNTRY
public static final java.lang.String KEY_LAF
public static final java.lang.String KEY_LANG
Constructor Detail |
public JEphemPrefs()
Method Detail |
public void store()
|
JEphem site tig API Build classes |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |