public class StreamGeometryInput extends AbstractGeometryIOMetadata implements GeometryInput
GeometryInput implementation that wraps an InputStream.| Constructor and Description |
|---|
StreamGeometryInput(InputStream in)
Construct a new instance that reads from the given input stream with
no configured file name or charset.
|
StreamGeometryInput(InputStream in,
String fileName)
Construct a new instance that reads from the given input stream with the
configured file name but no charset.
|
StreamGeometryInput(InputStream in,
String fileName,
Charset charset)
Construct a new instance that reads from the given input stream with the configured
file name and charset.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
Get the input stream for reading from the input.
|
getCharset, getFileName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCharset, getFileNamepublic StreamGeometryInput(InputStream in)
in - input streampublic StreamGeometryInput(InputStream in, String fileName)
in - input streamfileName - input file name; may be nullpublic StreamGeometryInput(InputStream in, String fileName, Charset charset)
in - input streamfileName - input file name; may be nullcharset - input charset; may be nullpublic InputStream getInputStream()
getInputStream in interface GeometryInputCopyright © 2016–2021 The Apache Software Foundation. All rights reserved.