|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.util.JavaPropertyWriter
Subject to change.
An implementation of ParameterWriter
that uses
standard Java properties to store values.
ParameterWriter
,
JavaPropertyReader
Field Summary | |
static String |
versionId
|
Constructor Summary | |
JavaPropertyWriter(Properties props)
Constructs a parameter writer that uses props . |
Method Summary | |
void |
store(OutputStream out)
Tells the internal property object to store its values to out . |
String |
toString()
Returns a String representation of this object. |
void |
write(Parameter param,
String value)
Writes a String value back for a
param . |
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 JavaPropertyWriter(Properties props)
props
.
props
- The Properties
object that stores
property values; it cannot be nullMethod Detail |
public final void store(OutputStream out)
out
.
out
- The OutputStream
to send the saved
parameters to; it cannot be nullpublic final void write(Parameter param, String value)
String
value back for a
param
.
write
in interface ParameterWriter
param
- The Parameter
whose value is
to be written; it cannot be nullvalue
- The String
value to write out; 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 |