|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectImageInputStreamImpl
URIImageInputStreamImpl
public class URIImageInputStreamImpl
An implementation of 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.
Field Summary |
---|
Fields inherited from class ImageInputStreamImpl |
---|
bitOffset, byteOrder, flushedPos, streamPos |
Constructor Summary | |
---|---|
URIImageInputStreamImpl(URI uri)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class ImageInputStreamImpl |
---|
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 |
Methods inherited from class Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ImageInputStream |
---|
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 |
Constructor Detail |
---|
public URIImageInputStreamImpl(URI uri)
Method Detail |
---|
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>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |