|
Copyright 2012-04-26 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.imageio.stream.ImageInputStreamImpl
org.monte.media.io.ImageInputStreamImpl2
org.monte.media.io.UncachedImageInputStream
public class UncachedImageInputStream
An implementation of ImageInputStream that gets its input from a
regular InputStream. No caching is used and thus backward seeking is
not supported.
| Field Summary |
|---|
| Fields inherited from class javax.imageio.stream.ImageInputStreamImpl |
|---|
bitOffset, byteOrder, flushedPos, streamPos |
| Constructor Summary | |
|---|---|
UncachedImageInputStream(java.io.InputStream in)
|
|
UncachedImageInputStream(java.io.InputStream in,
java.nio.ByteOrder bo)
|
|
| Method Summary | |
|---|---|
int |
read()
|
int |
read(byte[] b,
int off,
int len)
|
void |
seek(long pos)
|
| Methods inherited from class org.monte.media.io.ImageInputStreamImpl2 |
|---|
readInt, readShort |
| Methods inherited from class javax.imageio.stream.ImageInputStreamImpl |
|---|
checkClosed, close, finalize, flush, flushBefore, getBitOffset, getByteOrder, getFlushedPosition, getStreamPosition, isCached, isCachedFile, isCachedMemory, length, 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, skipBytes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UncachedImageInputStream(java.io.InputStream in)
public UncachedImageInputStream(java.io.InputStream in,
java.nio.ByteOrder bo)
| 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 void seek(long pos)
throws java.io.IOException
seek in interface javax.imageio.stream.ImageInputStreamseek in class javax.imageio.stream.ImageInputStreamImpljava.io.IOException
|
Copyright 2012-04-26 Werner Randelshofer | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||