public class StreamGeometryOutput extends AbstractGeometryIOMetadata implements GeometryOutput
GeometryOutput implementation that wraps an OutputStream.| Constructor and Description |
|---|
StreamGeometryOutput(OutputStream out)
Construct a new instance that writes to the given output stream with
no configured file name or charset.
|
StreamGeometryOutput(OutputStream out,
String fileName)
Construct a new instance that writes to the given output stream with the
configured file name but no charset.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOutputStream()
Get the output stream for writing to the output.
|
getCharset, getFileName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCharset, getFileNamepublic StreamGeometryOutput(OutputStream out)
out - output streampublic StreamGeometryOutput(OutputStream out, String fileName)
out - output streamfileName - output file name; may be nullpublic StreamGeometryOutput(OutputStream out, String fileName, Charset charset)
out - output streamfileName - output file name; may be nullcharset - output charset; may be nullpublic OutputStream getOutputStream()
getOutputStream in interface GeometryOutputCopyright © 2016–2021 The Apache Software Foundation. All rights reserved.