- java.lang.Object
-
- javax.imageio.stream.ImageInputStreamImpl
-
- javax.imageio.stream.MemoryCacheImageInputStream
-
- com.ibm.dtfj.utils.file.ZipMemoryCacheImageInputStream
-
- All Implemented Interfaces:
Closeable
,DataInput
,AutoCloseable
,ImageInputStream
public class ZipMemoryCacheImageInputStream extends MemoryCacheImageInputStream
Sub-class of an image input stream that comes from a zip file entry which allows it to provide more information than the standard MemoryCacheImageInputStream such as the length of the stream.
-
-
Field Summary
-
Fields declared in class javax.imageio.stream.ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos
-
-
Constructor Summary
Constructors Constructor Description ZipMemoryCacheImageInputStream(InputStream stream)
ZipMemoryCacheImageInputStream(ZipEntry entry, InputStream is, ManagedImageSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ManagedImageSource
getSource()
-
Methods declared in class javax.imageio.stream.MemoryCacheImageInputStream
close, finalize, flushBefore, isCached, isCachedFile, isCachedMemory, read, read
-
Methods declared in class javax.imageio.stream.ImageInputStreamImpl
checkClosed, 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, seek, setBitOffset, setByteOrder, skipBytes, skipBytes
-
-
-
-
Constructor Detail
-
ZipMemoryCacheImageInputStream
public ZipMemoryCacheImageInputStream(InputStream stream)
-
ZipMemoryCacheImageInputStream
public ZipMemoryCacheImageInputStream(ZipEntry entry, InputStream is, ManagedImageSource source)
-
-
Method Detail
-
getSource
public ManagedImageSource getSource()
-
-