Class PatchJPEGLSImageInputStream
java.lang.Object
javax.imageio.stream.ImageInputStreamImpl
org.aoju.bus.image.nimble.codec.jpeg.PatchJPEGLSImageInputStream
- All Implemented Interfaces:
Closeable,DataInput,AutoCloseable,ImageInputStream,BytesWithImageDescriptor
public class PatchJPEGLSImageInputStream
extends ImageInputStreamImpl
implements BytesWithImageDescriptor
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
Fields inherited from class javax.imageio.stream.ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.imageio.stream.ImageInputStreamImpl
checkClosed, 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, skipBytes
-
Constructor Details
-
PatchJPEGLSImageInputStream
public PatchJPEGLSImageInputStream(ImageInputStream iis, PatchJPEGLS patchJPEGLS) throws IOException - Throws:
IOException
-
-
Method Details
-
getImageDescriptor
- Specified by:
getImageDescriptorin interfaceBytesWithImageDescriptor
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceImageInputStream- Overrides:
closein classImageInputStreamImpl- Throws:
IOException
-
flushBefore
- Specified by:
flushBeforein interfaceImageInputStream- Overrides:
flushBeforein classImageInputStreamImpl- Throws:
IOException
-
isCached
public boolean isCached()- Specified by:
isCachedin interfaceImageInputStream- Overrides:
isCachedin classImageInputStreamImpl
-
isCachedFile
public boolean isCachedFile()- Specified by:
isCachedFilein interfaceImageInputStream- Overrides:
isCachedFilein classImageInputStreamImpl
-
isCachedMemory
public boolean isCachedMemory()- Specified by:
isCachedMemoryin interfaceImageInputStream- Overrides:
isCachedMemoryin classImageInputStreamImpl
-
length
public long length()- Specified by:
lengthin interfaceImageInputStream- Overrides:
lengthin classImageInputStreamImpl
-
read
- Specified by:
readin interfaceImageInputStream- Specified by:
readin classImageInputStreamImpl- Throws:
IOException
-
read
- Specified by:
readin interfaceImageInputStream- Specified by:
readin classImageInputStreamImpl- Throws:
IOException
-
mark
public void mark()- Specified by:
markin interfaceImageInputStream- Overrides:
markin classImageInputStreamImpl
-
reset
- Specified by:
resetin interfaceImageInputStream- Overrides:
resetin classImageInputStreamImpl- Throws:
IOException
-
seek
- Specified by:
seekin interfaceImageInputStream- Overrides:
seekin classImageInputStreamImpl- Throws:
IOException
-
getBytes
- Specified by:
getBytesin interfaceBytesWithImageDescriptor- Throws:
IOException
-
finalize
protected void finalize()- Overrides:
finalizein classImageInputStreamImpl
-