public class PropertyOutputStream extends ByteArrayOutputStream
buf, count| Constructor and Description |
|---|
PropertyOutputStream(Project p,
String s)
Construct a new PropertyOutputStream for the specified Project
and property name, trimming the property value.
|
PropertyOutputStream(Project p,
String s,
boolean b)
Construct a new PropertyOutputStream for
the specified Project, property name, and trim mode.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the PropertyOutputStream, storing the property.
|
reset, size, toByteArray, toString, write, write, writeToflush, writepublic PropertyOutputStream(Project p, String s)
p - the associated Ant Project.s - the String property name.public void close()
close in interface Closeableclose in interface AutoCloseableclose in class ByteArrayOutputStream