public class FileGeometryOutput extends AbstractGeometryIOMetadata implements GeometryOutput
GeometryOutput implementation for writing content to a file.| Constructor and Description |
|---|
FileGeometryOutput(Path file)
Construct a new instance with the given file and no charset.
|
FileGeometryOutput(Path file,
Charset charset)
Construct a new instance with the given file and charset.
|
| Modifier and Type | Method and Description |
|---|---|
Path |
getFile()
Get the output file.
|
OutputStream |
getOutputStream()
Get the output stream for writing to the output.
|
String |
toString() |
getCharset, getFileNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCharset, getFileNamepublic FileGeometryOutput(Path file)
file - output filepublic Path getFile()
public OutputStream getOutputStream()
The returned output stream is buffered.
getOutputStream in interface GeometryOutputpublic String toString()
toString in class AbstractGeometryIOMetadataCopyright © 2016–2021 The Apache Software Foundation. All rights reserved.