|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.arsdigita.util.JavaPropertyReader
Subject to change.
An implementation of ParameterReader that uses
standard Java properties to retrieve values.
ParameterReader,
JavaPropertyWriter| Field Summary | |
static String |
versionId
|
| Constructor Summary | |
JavaPropertyReader(Properties props)
Constructs a parameter reader that uses props. |
|
| Method Summary | |
void |
load(InputStream in)
Loads the internal Properties object using
in. |
String |
read(Parameter param,
ErrorList errors)
Reads a String value back for a
param. |
String |
toString()
Returns a String representation of this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String versionId
| Constructor Detail |
public JavaPropertyReader(Properties props)
props.
props - The Properties object that stores
property values; it cannot be null| Method Detail |
public final void load(InputStream in)
Properties object using
in.
in - The InputStream that has the source
properties; it cannot be null
public final String read(Parameter param,
ErrorList errors)
String value back for a
param.
read in interface ParameterReaderparam - The Parameter whose value is
requested; it cannot be nullerrors - An ErrorList to trap any errors
encountered when reading; it cannot be null
String value for param;
it can be nullpublic String toString()
String representation of this object.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||