Class StreamGeometryOutput

java.lang.Object
org.apache.commons.geometry.io.core.AbstractGeometryIOMetadata
org.apache.commons.geometry.io.core.output.StreamGeometryOutput
All Implemented Interfaces:
GeometryIOMetadata, GeometryOutput

GeometryOutput implementation that wraps an OutputStream.
  • Constructor Details

    • StreamGeometryOutput

      Construct a new instance that writes to the given output stream with no configured file name or charset.
      Parameters:
      out - output stream
    • StreamGeometryOutput

      public StreamGeometryOutput(OutputStream out, String fileName)
      Construct a new instance that writes to the given output stream with the configured file name but no charset.
      Parameters:
      out - output stream
      fileName - output file name; may be null
    • StreamGeometryOutput

      public StreamGeometryOutput(OutputStream out, String fileName, Charset charset)
      Construct a new instance that writes to the given output stream with the configured file name and charset.
      Parameters:
      out - output stream
      fileName - output file name; may be null
      charset - output charset; may be null
  • Method Details