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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCharset, getFileName
public 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 GeometryInput
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.