public class PatchJPEGLSImageInputStream extends ImageInputStreamImpl
| Modifier and Type | Field and Description |
|---|---|
private ImageInputStream |
iis |
private static Logger |
LOG |
private byte[] |
patch |
private long |
patchPos |
bitOffset, byteOrder, flushedPos, streamPos| Constructor and Description |
|---|
PatchJPEGLSImageInputStream(ImageInputStream iis,
PatchJPEGLS patchJPEGLS) |
| Modifier and Type | Method and Description |
|---|---|
private long |
adjustStreamPosition(long pos) |
void |
close() |
private byte[] |
firstBytesOf(ImageInputStream iis) |
void |
flushBefore(long pos) |
boolean |
isCached() |
boolean |
isCachedFile() |
boolean |
isCachedMemory() |
long |
length() |
void |
mark() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
private int |
readAvailable(byte[] b) |
void |
reset() |
void |
seek(long pos) |
checkClosed, finalize, flush, getBitOffset, getByteOrder, getFlushedPosition, getStreamPosition, 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, setBitOffset, setByteOrder, skipBytes, skipBytesprivate final ImageInputStream iis
private long patchPos
private byte[] patch
public PatchJPEGLSImageInputStream(ImageInputStream iis, PatchJPEGLS patchJPEGLS) throws IOException
IOExceptionprivate byte[] firstBytesOf(ImageInputStream iis) throws IOException
IOExceptionprivate int readAvailable(byte[] b) throws IOException
IOExceptionpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface ImageInputStreamclose in class ImageInputStreamImplIOExceptionpublic void flushBefore(long pos) throws IOException
flushBefore in interface ImageInputStreamflushBefore in class ImageInputStreamImplIOExceptionprivate long adjustStreamPosition(long pos)
public 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 long length()
length in interface ImageInputStreamlength in class ImageInputStreamImplpublic int read() throws IOException
read in interface ImageInputStreamread in class ImageInputStreamImplIOExceptionpublic int read(byte[] b, int off, int len) throws IOException
read in interface ImageInputStreamread in class ImageInputStreamImplIOExceptionpublic void mark()
mark in interface ImageInputStreammark in class ImageInputStreamImplpublic void reset() throws IOException
reset in interface ImageInputStreamreset in class ImageInputStreamImplIOExceptionpublic void seek(long pos) throws IOException
seek in interface ImageInputStreamseek in class ImageInputStreamImplIOExceptionCopyright © 2017 dcm4che.org. All rights reserved.