public interface ISourceConfigStore
extends java.io.Serializable
IConfigStore
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
get(java.lang.String name)
Gets a property.
|
java.util.Enumeration |
keys()
Returns an enumeration of the config store's keys.
|
void |
load(java.io.InputStream in)
Reads a config store from an input stream.
|
void |
put(java.lang.String name,
java.lang.Object value)
Retrieves a property.
|
void |
save(java.io.OutputStream out,
java.lang.String header)
Stores this config store to the specified output stream.
|
java.lang.Object get(java.lang.String name)
name
- The property namevoid put(java.lang.String name, java.lang.Object value)
name
- The property namevalue
- The property valuejava.util.Enumeration keys()
Hashtable.elements()
,
Enumeration
void load(java.io.InputStream in) throws java.io.IOException
in
- input stream where the properties are locatedjava.io.IOException
- If an IO error occurs while loading from input.void save(java.io.OutputStream out, java.lang.String header)
out
- output stream where the properties should be serializedheader
- optional header to be serialized