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:
- Closeable,- Flushable,- AutoCloseable
OutputStream that writes an Ant property.- Since:
- Ant 1.7
- See Also:
- 
Field SummaryFields inherited from class java.io.ByteArrayOutputStreambuf, count
- 
Constructor SummaryConstructorsConstructorDescriptionConstruct 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.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()Close the PropertyOutputStream, storing the property.Methods inherited from class java.io.ByteArrayOutputStreamreset, size, toByteArray, toString, toString, toString, toString, write, write, writeBytes, writeToMethods inherited from class java.io.OutputStreamflush, nullOutputStream, write
- 
Constructor Details- 
PropertyOutputStream
- 
PropertyOutputStream
 
- 
- 
Method Details- 
closepublic void close()Close the PropertyOutputStream, storing the property.- Specified by:
- closein interface- AutoCloseable
- Specified by:
- closein interface- Closeable
- Overrides:
- closein class- ByteArrayOutputStream
 
 
-