public class SubImageInputStream extends ImageInputStreamImpl2
| Constructor and Description |
|---|
SubImageInputStream(javax.imageio.stream.ImageInputStream in,
long offset,
long length) |
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
long |
getFlushedPosition() |
long |
getStreamPosition() |
boolean |
isCached() |
boolean |
isCachedFile() |
boolean |
isCachedMemory() |
long |
length() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long pos) |
readInt, readShortcheckClosed, close, finalize, flushBefore, getBitOffset, getByteOrder, mark, read, readBit, readBits, readBoolean, readByte, readBytes, readChar, readDouble, readFloat, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readFully, readLine, readLong, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, setBitOffset, setByteOrder, skipBytes, skipBytespublic SubImageInputStream(javax.imageio.stream.ImageInputStream in,
long offset,
long length)
throws java.io.IOException
java.io.IOExceptionpublic int read()
throws java.io.IOException
read in interface javax.imageio.stream.ImageInputStreamread in class javax.imageio.stream.ImageInputStreamImpljava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in interface javax.imageio.stream.ImageInputStreamread in class javax.imageio.stream.ImageInputStreamImpljava.io.IOExceptionpublic long getStreamPosition()
throws java.io.IOException
getStreamPosition in interface javax.imageio.stream.ImageInputStreamgetStreamPosition in class javax.imageio.stream.ImageInputStreamImpljava.io.IOExceptionpublic void seek(long pos)
throws java.io.IOException
seek in interface javax.imageio.stream.ImageInputStreamseek in class javax.imageio.stream.ImageInputStreamImpljava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface javax.imageio.stream.ImageInputStreamflush in class javax.imageio.stream.ImageInputStreamImpljava.io.IOExceptionpublic long getFlushedPosition()
getFlushedPosition in interface javax.imageio.stream.ImageInputStreamgetFlushedPosition in class javax.imageio.stream.ImageInputStreamImplpublic boolean isCached()
isCached in interface javax.imageio.stream.ImageInputStreamisCached in class javax.imageio.stream.ImageInputStreamImplpublic boolean isCachedMemory()
isCachedMemory in interface javax.imageio.stream.ImageInputStreamisCachedMemory in class javax.imageio.stream.ImageInputStreamImplpublic boolean isCachedFile()
isCachedFile in interface javax.imageio.stream.ImageInputStreamisCachedFile in class javax.imageio.stream.ImageInputStreamImplpublic long length()
length in interface javax.imageio.stream.ImageInputStreamlength in class javax.imageio.stream.ImageInputStreamImplCopyright © 2022. All Rights Reserved.