Class SubImageInputStream
- java.lang.Object
-
- javax.imageio.stream.ImageInputStreamImpl
-
- org.exoplatform.imageio.plugins.common.SubImageInputStream
-
- All Implemented Interfaces:
Closeable,DataInput,AutoCloseable,ImageInputStream
public final class SubImageInputStream extends ImageInputStreamImpl
version: openjdk-7-ea-src-b35-11_sep_2008
-
-
Field Summary
-
Fields inherited from class javax.imageio.stream.ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos
-
-
Constructor Summary
Constructors Constructor Description SubImageInputStream(ImageInputStream stream, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()longlength()intread()intread(byte[] b, int off, int len)voidseek(long pos)-
Methods inherited from class javax.imageio.stream.ImageInputStreamImpl
checkClosed, close, flush, flushBefore, getBitOffset, getByteOrder, getFlushedPosition, getStreamPosition, isCached, isCachedFile, isCachedMemory, 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, setBitOffset, setByteOrder, skipBytes, skipBytes
-
-
-
-
Constructor Detail
-
SubImageInputStream
public SubImageInputStream(ImageInputStream stream, int length) throws IOException
- Throws:
IOException
-
-
Method Detail
-
read
public int read() throws IOException- Specified by:
readin interfaceImageInputStream- Specified by:
readin classImageInputStreamImpl- Throws:
IOException
-
read
public int read(byte[] b, int off, int len) throws IOException- Specified by:
readin interfaceImageInputStream- Specified by:
readin classImageInputStreamImpl- Throws:
IOException
-
length
public long length()
- Specified by:
lengthin interfaceImageInputStream- Overrides:
lengthin classImageInputStreamImpl
-
seek
public void seek(long pos) throws IOException- Specified by:
seekin interfaceImageInputStream- Overrides:
seekin classImageInputStreamImpl- Throws:
IOException
-
finalize
protected void finalize() throws Throwable- Overrides:
finalizein classImageInputStreamImpl- Throws:
Throwable
-
-