public class UrlGeometryInput extends AbstractGeometryIOMetadata implements GeometryInput
GeometryInput implementation for reading content from a URL.| Constructor and Description |
|---|
UrlGeometryInput(URL url)
Construct a new instance for reading from the given URL.
|
UrlGeometryInput(URL url,
Charset charset)
Construct a new instance for reading from the given URL with the
specified charset.
|
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
Get the input stream for reading from the input.
|
URL |
getUrl()
Get the input URL.
|
String |
toString() |
getCharset, getFileNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCharset, getFileNamepublic UrlGeometryInput(URL url)
url - input urlpublic URL getUrl()
public InputStream getInputStream()
The returned input stream is buffered.
getInputStream in interface GeometryInputpublic String toString()
toString in class AbstractGeometryIOMetadataCopyright © 2016–2021 The Apache Software Foundation. All rights reserved.