API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.imageio.stream. FileImageInputStream View Source
Author(s)
Since
Version
0.5
Serial
Hierarchy
 Object
      ImageInputStreamImpl
          FileImageInputStream
Implements
Subclasses
Description
public class FileImageInputStream
  An implementation of ImageInputStream that gets its input from a File or RandomAccessFile.
See also:   
Constructors
public FileImageInputStream (File f) throws FileNotFoundException IOException
  Constructs a FileImageInputStream that will read from a given File.
public FileImageInputStream (RandomAccessFile raf)
  Constructs a FileImageInputStream that will read from a given RandomAccessFile.
Methods
Hide/Show inherited methods
protectedfinal void checkClosed () throws IOException [Inherited From ImageInputStreamImpl]
  Throws an IOException if the stream has been closed.
public void close () throws IOException [Overrides ImageInputStreamImpl]
protected void finalize () throws Throwable [Overrides ImageInputStreamImpl]
  Finalizes this object prior to garbage collection.
public void flush () throws IOException [Inherited From ImageInputStreamImpl]
public void flushBefore (long pos) throws IOException [Inherited From ImageInputStreamImpl]
public int getBitOffset () throws IOException [Inherited From ImageInputStreamImpl]
public ByteOrder getByteOrder () [Inherited From ImageInputStreamImpl]
public long getFlushedPosition () [Inherited From ImageInputStreamImpl]
public long getStreamPosition () throws IOException [Inherited From ImageInputStreamImpl]
public boolean isCached () [Inherited From ImageInputStreamImpl]
  Default implementation returns false.
public boolean isCachedFile () [Inherited From ImageInputStreamImpl]
  Default implementation returns false.
public boolean isCachedMemory () [Inherited From ImageInputStreamImpl]
  Default implementation returns false.
public long length () [Overrides ImageInputStreamImpl]
  Returns the length of the underlying file, or -1 if it is unknown.
public void mark () [Inherited From ImageInputStreamImpl]
Pushes the current stream position onto a stack of marked positions.
public int read () throws IOException [Specified in ImageInputStreamImpl]
public int read (byte[] b) throws IOException [Inherited From ImageInputStreamImpl]
  A convenience method that calls read(b, 0, b.length).
public int read (byte[] b, int off, int len) throws IOException [Specified in ImageInputStreamImpl]
public int readBit () throws IOException [Inherited From ImageInputStreamImpl]
public long readBits (int numBits) throws IOException [Inherited From ImageInputStreamImpl]
public boolean readBoolean () throws IOException [Inherited From ImageInputStreamImpl]
public byte readByte () throws IOException [Inherited From ImageInputStreamImpl]
public void readBytes (IIOByteBuffer buf, int len) throws IOException [Inherited From ImageInputStreamImpl]
public char readChar () throws IOException [Inherited From ImageInputStreamImpl]
public double readDouble () throws IOException [Inherited From ImageInputStreamImpl]
public float readFloat () throws IOException [Inherited From ImageInputStreamImpl]
public void readFully (byte[] b) throws IOException [Inherited From ImageInputStreamImpl]
public void readFully (byte[] b, int off, int len) throws IOException [Inherited From ImageInputStreamImpl]
public void readFully (char[] c, int off, int len) throws IOException [Inherited From ImageInputStreamImpl]
public void readFully (double[] d, int off, int len) throws IOException [Inherited From ImageInputStreamImpl]
public void readFully (float[] f, int off, int len) throws IOException [Inherited From ImageInputStreamImpl]
public void readFully (int[] i, int off, int len) throws IOException [Inherited From ImageInputStreamImpl]
public void readFully (long[] l, int off, int len) throws IOException [Inherited From ImageInputStreamImpl]
public void readFully (short[] s, int off, int len) throws IOException [Inherited From ImageInputStreamImpl]
public int readInt () throws IOException [Inherited From ImageInputStreamImpl]
public String readLine () throws IOException [Inherited From ImageInputStreamImpl]
public long readLong () throws IOException [Inherited From ImageInputStreamImpl]
public short readShort () throws IOException [Inherited From ImageInputStreamImpl]
public int readUnsignedByte () throws IOException [Inherited From ImageInputStreamImpl]
public long readUnsignedInt () throws IOException [Inherited From ImageInputStreamImpl]
public int readUnsignedShort () throws IOException [Inherited From ImageInputStreamImpl]
public String readUTF () throws IOException [Inherited From ImageInputStreamImpl]
public void reset () throws IOException [Inherited From ImageInputStreamImpl]
  Resets the current stream byte and bit positions from the stack of marked positions.
public void seek (long pos) throws IOException [Overrides ImageInputStreamImpl]
public void setBitOffset (int bitOffset) throws IOException [Inherited From ImageInputStreamImpl]
public void setByteOrder (ByteOrder byteOrder) [Inherited From ImageInputStreamImpl]
public int skipBytes (int n) throws IOException [Inherited From ImageInputStreamImpl]
  Advances the current stream position by calling seek(getStreamPosition() + n).
public long skipBytes (long n) throws IOException [Inherited From ImageInputStreamImpl]
  Advances the current stream position by calling seek(getStreamPosition() + n).
Fields
Hide/Show inherited fields
protected int bitOffset [Inherited From ImageInputStreamImpl]
  The current bit offset within the stream.
pack-private byte byteBuf [Inherited From ImageInputStreamImpl]
  Byte buffer used for readFully(type[], int, int).
protected ByteOrder byteOrder [Inherited From ImageInputStreamImpl]
  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 [Inherited From ImageInputStreamImpl]
  The position prior to which data may be discarded.
protected long streamPos [Inherited From ImageInputStreamImpl]
  The current read position within the stream.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar