javax.imageio.stream
public class MemoryCacheImageInputStream extends ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos
Constructor and Description |
---|
MemoryCacheImageInputStream(InputStream stream) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
flushBefore(long position) |
boolean |
isCached() |
boolean |
isCachedFile() |
boolean |
isCachedMemory() |
int |
read() |
int |
read(byte[] data,
int offset,
int len) |
void |
seek(long position) |
checkClosed, finalize, flush, getBitOffset, getByteOrder, getFlushedPosition, getStreamPosition, 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, setBitOffset, setByteOrder, skipBytes, skipBytes
public MemoryCacheImageInputStream(InputStream stream)
public void close() throws IOException
close
in interface ImageInputStream
close
in class ImageInputStreamImpl
IOException
public void flushBefore(long position) throws IOException
flushBefore
in interface ImageInputStream
flushBefore
in class ImageInputStreamImpl
IOException
public boolean isCached()
isCached
in interface ImageInputStream
isCached
in class ImageInputStreamImpl
public boolean isCachedFile()
isCachedFile
in interface ImageInputStream
isCachedFile
in class ImageInputStreamImpl
public boolean isCachedMemory()
isCachedMemory
in interface ImageInputStream
isCachedMemory
in class ImageInputStreamImpl
public int read() throws IOException
read
in interface ImageInputStream
read
in class ImageInputStreamImpl
IOException
public int read(byte[] data, int offset, int len) throws IOException
read
in interface ImageInputStream
read
in class ImageInputStreamImpl
IOException
public void seek(long position) throws IOException
seek
in interface ImageInputStream
seek
in class ImageInputStreamImpl
IOException