java.io.Closeable, java.io.Flushable, java.lang.AutoCloseablepublic class PropertyOutputStream
extends java.io.ByteArrayOutputStream
OutputStream that writes an Ant property.PropertyResource.getOutputStream()| Constructor | Description |
|---|---|
PropertyOutputStream(Project p,
java.lang.String s) |
Construct a new PropertyOutputStream for the specified Project
and property name, trimming the property value.
|
PropertyOutputStream(Project p,
java.lang.String s,
boolean b) |
Construct a new PropertyOutputStream for
the specified Project, property name, and trim mode.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Close the PropertyOutputStream, storing the property.
|
reset, size, toByteArray, toString, toString, toString, toString, write, write, writeTopublic PropertyOutputStream(Project p, java.lang.String s)
p - the associated Ant Project.s - the String property name.public PropertyOutputStream(Project p, java.lang.String s, boolean b)
p - the associated Ant Project.s - the String property name.b - the boolean trim mode.