Class PropertyOutputStream

java.lang.Object
java.io.OutputStream
java.io.ByteArrayOutputStream
org.apache.tools.ant.util.PropertyOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public class PropertyOutputStream extends ByteArrayOutputStream
OutputStream that writes an Ant property.
Since:
Ant 1.7
See Also:
  • Constructor Details

    • PropertyOutputStream

      public PropertyOutputStream(Project p, 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.
    • PropertyOutputStream

      public PropertyOutputStream(Project p, 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.
  • Method Details