javax.imageio.stream

Class ImageInputStreamImpl

public abstract class ImageInputStreamImpl extends Object implements ImageInputStream

Field Summary
protected intbitOffset
protected ByteOrderbyteOrder
protected longflushedPos
protected longstreamPos
Constructor Summary
ImageInputStreamImpl()
Method Summary
protected voidcheckClosed()
voidclose()
protected voidfinalize()
voidflush()
voidflushBefore(long position)
intgetBitOffset()
ByteOrdergetByteOrder()
longgetFlushedPosition()
longgetStreamPosition()
booleanisCached()
booleanisCachedFile()
booleanisCachedMemory()
longlength()
voidmark()
abstract intread()
abstract intread(byte[] data, int offset, int len)
intread(byte[] data)
intreadBit()
longreadBits(int numBits)
booleanreadBoolean()
bytereadByte()
voidreadBytes(IIOByteBuffer buffer, int len)
charreadChar()
doublereadDouble()
floatreadFloat()
voidreadFully(byte[] data)
voidreadFully(byte[] data, int offset, int len)
voidreadFully(char[] data, int offset, int len)
voidreadFully(double[] data, int offset, int len)
voidreadFully(float[] data, int offset, int len)
voidreadFully(int[] data, int offset, int len)
voidreadFully(long[] data, int offset, int len)
voidreadFully(short[] data, int offset, int len)
intreadInt()
StringreadLine()
longreadLong()
shortreadShort()
intreadUnsignedByte()
longreadUnsignedInt()
intreadUnsignedShort()
StringreadUTF()
voidreset()
voidseek(long position)
voidsetBitOffset(int bitOffset)
voidsetByteOrder(ByteOrder byteOrder)
intskipBytes(int num)
longskipBytes(long num)

Field Detail

bitOffset

protected int bitOffset

byteOrder

protected ByteOrder byteOrder

flushedPos

protected long flushedPos

streamPos

protected long streamPos

Constructor Detail

ImageInputStreamImpl

public ImageInputStreamImpl()

Method Detail

checkClosed

protected final void checkClosed()

close

public void close()

finalize

protected void finalize()

flush

public void flush()

flushBefore

public void flushBefore(long position)

getBitOffset

public int getBitOffset()

getByteOrder

public ByteOrder getByteOrder()

getFlushedPosition

public long getFlushedPosition()

getStreamPosition

public long getStreamPosition()

isCached

public boolean isCached()

isCachedFile

public boolean isCachedFile()

isCachedMemory

public boolean isCachedMemory()

length

public long length()

mark

public void mark()

read

public abstract int read()

read

public abstract int read(byte[] data, int offset, int len)

read

public int read(byte[] data)

readBit

public int readBit()

readBits

public long readBits(int numBits)

readBoolean

public boolean readBoolean()

readByte

public byte readByte()

readBytes

public void readBytes(IIOByteBuffer buffer, int len)

readChar

public char readChar()

readDouble

public double readDouble()

readFloat

public float readFloat()

readFully

public void readFully(byte[] data)

readFully

public void readFully(byte[] data, int offset, int len)

readFully

public void readFully(char[] data, int offset, int len)

readFully

public void readFully(double[] data, int offset, int len)

readFully

public void readFully(float[] data, int offset, int len)

readFully

public void readFully(int[] data, int offset, int len)

readFully

public void readFully(long[] data, int offset, int len)

readFully

public void readFully(short[] data, int offset, int len)

readInt

public int readInt()

readLine

public String readLine()

readLong

public long readLong()

readShort

public short readShort()

readUnsignedByte

public int readUnsignedByte()

readUnsignedInt

public long readUnsignedInt()

readUnsignedShort

public int readUnsignedShort()

readUTF

public String readUTF()

reset

public void reset()

seek

public void seek(long position)

setBitOffset

public void setBitOffset(int bitOffset)

setByteOrder

public void setByteOrder(ByteOrder byteOrder)

skipBytes

public int skipBytes(int num)

skipBytes

public long skipBytes(long num)