API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.imageio.stream. ImageInputStreamImpl View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      ImageInputStreamImpl
Implements
 ImageInputStream
Subclasses
Description
publicabstract abstract class ImageInputStreamImpl
  An abstract class implementing the ImageInputStream interface.
See also:   
Constructors
public ImageInputStreamImpl ()
Constructs an ImageInputStreamImpl.
Methods
Hide/Show inherited methods
protectedfinal void checkClosed () throws IOException
  Throws an IOException if the stream has been closed.
public void close () throws IOException [Specified in ImageInputStream]
protected void finalize () throws Throwable
  Finalizes this object prior to garbage collection.
public void flush () throws IOException [Specified in ImageInputStream]
public void flushBefore (long pos) throws IOException [Specified in ImageInputStream]
public int getBitOffset () throws IOException [Specified in ImageInputStream]
public ByteOrder getByteOrder () [Specified in ImageInputStream]
public long getFlushedPosition () [Specified in ImageInputStream]
public long getStreamPosition () throws IOException [Specified in ImageInputStream]
public boolean isCached () [Specified in ImageInputStream]
  Default implementation returns false.
public boolean isCachedFile () [Specified in ImageInputStream]
  Default implementation returns false.
public boolean isCachedMemory () [Specified in ImageInputStream]
  Default implementation returns false.
public long length () [Specified in ImageInputStream]
  Returns -1L to indicate that the stream has unknown length.
public void mark () [Specified in ImageInputStream]
Pushes the current stream position onto a stack of marked positions.
publicabstract int read () throws IOException [Specified in ImageInputStream]
  Reads a single byte from the stream and returns it as an int between 0 and 255.
public int read (byte[] b) throws IOException [Specified in ImageInputStream]
  A convenience method that calls read(b, 0, b.length).
publicabstract int read (byte[] b, int off, int len) throws IOException [Specified in ImageInputStream]
  Reads up to len bytes from the stream, and stores them into b starting at index off.
public int readBit () throws IOException [Specified in ImageInputStream]
public long readBits (int numBits) throws IOException [Specified in ImageInputStream]
public boolean readBoolean () throws IOException [Specified in ImageInputStream]
public byte readByte () throws IOException [Specified in ImageInputStream]
public void readBytes (IIOByteBuffer buf, int len) throws IOException [Specified in ImageInputStream]
public char readChar () throws IOException [Specified in ImageInputStream]
public double readDouble () throws IOException [Specified in ImageInputStream]
public float readFloat () throws IOException [Specified in ImageInputStream]
public void readFully (byte[] b) throws IOException [Specified in ImageInputStream]
public void readFully (byte[] b, int off, int len) throws IOException [Specified in ImageInputStream]
public void readFully (char[] c, int off, int len) throws IOException [Specified in ImageInputStream]
public void readFully (double[] d, int off, int len) throws IOException [Specified in ImageInputStream]
public void readFully (float[] f, int off, int len) throws IOException [Specified in ImageInputStream]
public void readFully (int[] i, int off, int len) throws IOException [Specified in ImageInputStream]
public void readFully (long[] l, int off, int len) throws IOException [Specified in ImageInputStream]
public void readFully (short[] s, int off, int len) throws IOException [Specified in ImageInputStream]
public int readInt () throws IOException [Specified in ImageInputStream]
public String readLine () throws IOException [Specified in ImageInputStream]
public long readLong () throws IOException [Specified in ImageInputStream]
public short readShort () throws IOException [Specified in ImageInputStream]
public int readUnsignedByte () throws IOException [Specified in ImageInputStream]
public long readUnsignedInt () throws IOException [Specified in ImageInputStream]
public int readUnsignedShort () throws IOException [Specified in ImageInputStream]
public String readUTF () throws IOException [Specified in ImageInputStream]
public void reset () throws IOException [Specified in ImageInputStream]
  Resets the current stream byte and bit positions from the stack of marked positions.
public void seek (long pos) throws IOException [Specified in ImageInputStream]
public void setBitOffset (int bitOffset) throws IOException [Specified in ImageInputStream]
public void setByteOrder (ByteOrder byteOrder) [Specified in ImageInputStream]
public int skipBytes (int n) throws IOException [Specified in ImageInputStream]
  Advances the current stream position by calling seek(getStreamPosition() + n).
public long skipBytes (long n) throws IOException [Specified in ImageInputStream]
  Advances the current stream position by calling seek(getStreamPosition() + n).
Fields
Hide/Show inherited fields
protected int bitOffset
  The current bit offset within the stream.
pack-private byte byteBuf
  Byte buffer used for readFully(type[], int, int).
protected ByteOrder byteOrder
  The byte order of the stream as an instance of the enumeration class java.nio.ByteOrder, where ByteOrder.BIG_ENDIAN indicates network byte order and ByteOrder.LITTLE_ENDIAN indicates the reverse order.
protected long flushedPos
  The position prior to which data may be discarded.
protected long streamPos
  The current read position within the stream.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar