|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISourceConfigStore
An interface that represents the source that creates the configuration store tree. Note that the tree can be built based on the information from a text file or ldap entries.
IConfigStore
Method Summary | |
---|---|
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. |
Method Detail |
---|
java.lang.Object get(java.lang.String name)
name
- The property name
void 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 located
java.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |