org.apache.tools.ant.util
Class PropertyOutputStream
ByteArrayOutputStream
org.apache.tools.ant.util.PropertyOutputStream
public class PropertyOutputStream
extends ByteArrayOutputStream
Exception thrown when an attempt is made to get an OutputStream
from an immutable Resource.
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.
|
void | close() - Close the PropertyOutputStream, storing the property.
|
PropertyOutputStream
public PropertyOutputStream(Project p,
String s)
Construct a new PropertyOutputStream for the specified Project
and property name, trimming the property value.
p
- the associated Ant Project.s
- the String property name.
PropertyOutputStream
public PropertyOutputStream(Project p,
String s,
boolean b)
Construct a new PropertyOutputStream for
the specified Project, property name, and trim mode.
p
- the associated Ant Project.s
- the String property name.b
- the boolean trim mode.
close
public void close()
Close the PropertyOutputStream, storing the property.