|
Copyright 2011-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.imageio.stream.ImageInputStreamImpl
ch.randelshofer.io.SubImageInputStream
public class SubImageInputStream
SubImageInputStream.
| Field Summary |
|---|
| Fields inherited from class javax.imageio.stream.ImageInputStreamImpl |
|---|
bitOffset, byteOrder, flushedPos, streamPos |
| Constructor Summary | |
|---|---|
SubImageInputStream(javax.imageio.stream.ImageInputStream in,
long offset,
long length)
|
|
| Method Summary | |
|---|---|
void |
flush()
|
long |
getFlushedPosition()
|
long |
getStreamPosition()
|
boolean |
isCached()
Default implementation returns false. |
boolean |
isCachedFile()
|
boolean |
isCachedMemory()
Default implementation returns false. |
long |
length()
|
int |
read()
|
int |
read(byte[] b,
int off,
int len)
|
void |
seek(long pos)
|
| Methods inherited from class javax.imageio.stream.ImageInputStreamImpl |
|---|
checkClosed, close, finalize, flushBefore, getBitOffset, getByteOrder, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubImageInputStream(javax.imageio.stream.ImageInputStream in,
long offset,
long length)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public int read()
throws java.io.IOException
read in interface javax.imageio.stream.ImageInputStreamread in class javax.imageio.stream.ImageInputStreamImpljava.io.IOException
public 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.IOException
public long getStreamPosition()
throws java.io.IOException
getStreamPosition in interface javax.imageio.stream.ImageInputStreamgetStreamPosition in class javax.imageio.stream.ImageInputStreamImpljava.io.IOException
public void seek(long pos)
throws java.io.IOException
seek in interface javax.imageio.stream.ImageInputStreamseek in class javax.imageio.stream.ImageInputStreamImpljava.io.IOException
public 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.ImageInputStreamImpl
|
Copyright 2011-01-06 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||