public class MemoryCacheImageInputStream extends ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos| Constructor and Description |
|---|
MemoryCacheImageInputStream(java.io.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, skipBytespublic MemoryCacheImageInputStream(java.io.InputStream stream)
public void close() throws java.io.IOException
close in interface ImageInputStreamclose in class ImageInputStreamImpljava.io.IOExceptionpublic void flushBefore(long position) throws java.io.IOException
flushBefore in interface ImageInputStreamflushBefore in class ImageInputStreamImpljava.io.IOExceptionpublic boolean isCached()
isCached in interface ImageInputStreamisCached in class ImageInputStreamImplpublic boolean isCachedFile()
isCachedFile in interface ImageInputStreamisCachedFile in class ImageInputStreamImplpublic boolean isCachedMemory()
isCachedMemory in interface ImageInputStreamisCachedMemory in class ImageInputStreamImplpublic int read() throws java.io.IOException
read in interface ImageInputStreamread in class ImageInputStreamImpljava.io.IOExceptionpublic int read(byte[] data, int offset, int len) throws java.io.IOException
read in interface ImageInputStreamread in class ImageInputStreamImpljava.io.IOExceptionpublic void seek(long position) throws java.io.IOException
seek in interface ImageInputStreamseek in class ImageInputStreamImpljava.io.IOException