|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
jwo.utils.SecureProperties
public class 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 and key. |
|
| 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, loadFromXML, propertyNames, save, setProperty, storeToXML, storeToXML |
| 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.key - Key used to create encryption.| Method Detail |
|---|
public void store(OutputStream out,
String header)
store in class Propertiesout - an output stream.header - a description of the property list.public void load(InputStream inStream)
load in class PropertiesinStream - Input stream containing property list.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||