|
||||||||||
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 jwo.utils.SecureProperties
Stores an encrypted version of a properties hashtable.
Field Summary |
Fields inherited from class java.util.Properties |
defaults |
Constructor Summary | |
SecureProperties()
Creates an empty and unencrypted property list with no default values. |
|
SecureProperties(byte key)
Creates an empty property list with no default values. |
|
SecureProperties(Properties defaults)
Creates an empty and unencrypted property list with the specified defaults. |
|
SecureProperties(Properties defaults,
byte key)
Creates an empty property list with the specified defaults. |
Method Summary | |
void |
load(InputStream inStream)
Reads a property list (key and element pairs) from the input stream. |
void |
store(OutputStream out,
String header)
Writes this property list (key and element pairs) in this Properties table to the output stream in a format suitable for loading into a Properties table using the load method. |
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, propertyNames, save, setProperty |
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 SecureProperties()
public SecureProperties(byte key)
key
- Key for encryption.public SecureProperties(Properties defaults)
defaults
- Default properties.public SecureProperties(Properties defaults, byte key)
defaults
- Default properties.Method Detail |
public void store(OutputStream out, String header)
out
- an output stream.header
- a description of the property list.public void load(InputStream inStream)
inStream
- Input stream containing property list.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |