public class UncachedImageInputStream extends ImageInputStreamImpl2
ImageInputStream
that gets its input from a
regular InputStream
. No caching is used and thus backward seeking is
not supported.Constructor and Description |
---|
UncachedImageInputStream(java.io.InputStream in) |
UncachedImageInputStream(java.io.InputStream in,
java.nio.ByteOrder bo) |
Modifier and Type | Method and Description |
---|---|
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long pos) |
readInt, readShort
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, readLine, readLong, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, setBitOffset, setByteOrder, skipBytes, skipBytes
public UncachedImageInputStream(java.io.InputStream in)
public UncachedImageInputStream(java.io.InputStream in, java.nio.ByteOrder bo)
public int read() throws java.io.IOException
read
in interface javax.imageio.stream.ImageInputStream
read
in class javax.imageio.stream.ImageInputStreamImpl
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in interface javax.imageio.stream.ImageInputStream
read
in class javax.imageio.stream.ImageInputStreamImpl
java.io.IOException
public void seek(long pos) throws java.io.IOException
seek
in interface javax.imageio.stream.ImageInputStream
seek
in class javax.imageio.stream.ImageInputStreamImpl
java.io.IOException