|
|||||||||||
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 | +--com.ice.pref.UserPrefsLoader | +--com.ice.pref.UserPrefsFileLoader
This class extends the "global" properties functionality to provide a facility for loading and storing UserPrefs properties.
Field Summary |
Fields inherited from class java.util.Properties |
defaults |
Fields inherited from interface com.ice.pref.UserPrefsConstants |
FILE_LOADER, SERVLET_LOADER, STREAM_LOADER |
Constructor Summary | |
UserPrefsFileLoader()
|
|
UserPrefsFileLoader(java.io.File f)
|
|
UserPrefsFileLoader(java.lang.String appName,
java.lang.String userName,
java.lang.String prefsName)
|
Method Summary | |
java.io.File |
getFile()
|
void |
loadPreferences(UserPrefs prefs)
|
void |
setFile(java.io.File f)
|
void |
storePreferences(UserPrefs prefs)
|
Methods inherited from class com.ice.pref.UserPrefsLoader |
getAppName, getDefaultLoader, getDefaultLoader, getLoader, getLoader, getPrefsName, getUserName, setAppName, setPrefsName, setUserName |
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 |
Constructor Detail |
public UserPrefsFileLoader()
public UserPrefsFileLoader(java.io.File f)
public UserPrefsFileLoader(java.lang.String appName, java.lang.String userName, java.lang.String prefsName)
Method Detail |
public java.io.File getFile()
public void setFile(java.io.File f)
public void loadPreferences(UserPrefs prefs) throws java.io.IOException
loadPreferences
in class UserPrefsLoader
java.io.IOException
public void storePreferences(UserPrefs prefs) throws java.io.IOException
storePreferences
in class UserPrefsLoader
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |