public class FileCacheImageInputStream extends ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos| Constructor and Description |
|---|
FileCacheImageInputStream(InputStream stream,
File cacheDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isCached() |
boolean |
isCachedFile() |
boolean |
isCachedMemory() |
int |
read() |
int |
read(byte[] data,
int offset,
int len) |
checkClosed, finalize, flush, flushBefore, 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, seek, setBitOffset, setByteOrder, skipBytes, skipBytespublic FileCacheImageInputStream(InputStream stream, File cacheDir) throws IOException
IOExceptionpublic void close() throws IOException
close in interface ImageInputStreamclose in class ImageInputStreamImplIOExceptionpublic 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 IOException
read in interface ImageInputStreamread in class ImageInputStreamImplIOExceptionpublic int read(byte[] data, int offset, int len) throws IOException
read in interface ImageInputStreamread in class ImageInputStreamImplIOException