com.ice.pref
Class UserPrefsStreamLoader
java.lang.Object
|
+--java.util.Dictionary
|
+--java.util.Hashtable
|
+--java.util.Properties
|
+--com.ice.pref.UserPrefsLoader
|
+--com.ice.pref.UserPrefsStreamLoader
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable, UserPrefsConstants
- public class UserPrefsStreamLoader
- extends UserPrefsLoader
This class extends the UserPrefsLoader to allow loading and storing
via InputStreams and OutputStreams.
- Author:
- Tim Endres,
time@ice.com.
- See Also:
- Serialized Form
Fields inherited from class java.util.Properties |
defaults |
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 |
UserPrefsStreamLoader
public UserPrefsStreamLoader()
UserPrefsStreamLoader
public UserPrefsStreamLoader(java.io.InputStream in,
java.io.OutputStream out)
UserPrefsStreamLoader
public UserPrefsStreamLoader(java.lang.String appName,
java.lang.String userName,
java.lang.String prefsName)
getInputStream
public java.io.InputStream getInputStream()
setInputStream
public void setInputStream(java.io.InputStream in)
getOutputStream
public java.io.OutputStream getOutputStream()
setOutputStream
public void setOutputStream(java.io.OutputStream out)
loadPreferences
public void loadPreferences(UserPrefs prefs)
throws java.io.IOException
- Specified by:
loadPreferences
in class UserPrefsLoader
java.io.IOException
storePreferences
public void storePreferences(UserPrefs prefs)
throws java.io.IOException
- Specified by:
storePreferences
in class UserPrefsLoader
java.io.IOException
Copyright © 1997-2003, Timothy G. Endres, All Rights Reserved.