public class URIImageInputStreamImpl extends ImageInputStreamImpl implements URIImageInputStream
ImageInputStream
that gets its input from a
URI
.
Note that this class doesn't actually allow read operations. It is actually
only used to allow defining an ImageInputStream
for a URI.bitOffset, byteOrder, flushedPos, streamPos
Constructor and Description |
---|
URIImageInputStreamImpl(URI uri) |
Modifier and Type | Method and Description |
---|---|
Class<URI> |
getBinding()
Retrieve the class for the target object.
|
URI |
getTarget()
Retrieves the target object on which we work.
|
URI |
getUri()
Returns the associated
URI |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
checkClosed, close, finalize, flush, flushBefore, getBitOffset, getByteOrder, getFlushedPosition, getStreamPosition, isCached, isCachedFile, isCachedMemory, length, mark, read, readBit, readBits, readBoolean, readByte, readBytes, readChar, readDouble, readFloat, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, seek, setBitOffset, setByteOrder, skipBytes, skipBytes
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, flush, flushBefore, getBitOffset, getByteOrder, getFlushedPosition, getStreamPosition, isCached, isCachedFile, isCachedMemory, length, mark, read, readBit, readBits, readBoolean, readByte, readBytes, readChar, readDouble, readFloat, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, seek, setBitOffset, setByteOrder, skipBytes, skipBytes
public URIImageInputStreamImpl(URI uri)
public int read() throws IOException
read
in interface ImageInputStream
read
in class ImageInputStreamImpl
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in interface ImageInputStream
read
in class ImageInputStreamImpl
IOException
public URI getUri()
URIImageInputStream
URI
getUri
in interface URIImageInputStream
URI
public URI getTarget()
AccessibleStream
getTarget
in interface AccessibleStream<URI>
public Class<URI> getBinding()
AccessibleStream
getBinding
in interface AccessibleStream<URI>
Copyright © 2006–2014 GeoSolutions. All rights reserved.