Package org.apache.tools.ant.util
Class PropertyOutputStream
- java.lang.Object
- 
- java.io.OutputStream
- 
- java.io.ByteArrayOutputStream
- 
- org.apache.tools.ant.util.PropertyOutputStream
 
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.io.Flushable,- java.lang.AutoCloseable
 
 public class PropertyOutputStream extends java.io.ByteArrayOutputStreamOutputStreamthat writes an Ant property.- Since:
- Ant 1.7
- See Also:
- PropertyResource.getOutputStream()
 
- 
- 
Constructor SummaryConstructors 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.
 - 
Method SummaryModifier and Type Method Description voidclose()Close the PropertyOutputStream, storing the property.
 
- 
- 
- 
Constructor Detail- 
PropertyOutputStreampublic PropertyOutputStream(Project p, java.lang.String s) Construct a new PropertyOutputStream for the specified Project and property name, trimming the property value.- Parameters:
- p- the associated Ant Project.
- s- the String property name.
 
 - 
PropertyOutputStreampublic PropertyOutputStream(Project p, java.lang.String s, boolean b) Construct a new PropertyOutputStream for the specified Project, property name, and trim mode.- Parameters:
- p- the associated Ant Project.
- s- the String property name.
- b- the boolean trim mode.
 
 
- 
 
-