API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.imageio.stream. ImageOutputStreamImpl View Source
Author(s)
Since
Version
0.5
Serial
Hierarchy
 Object
      ImageInputStreamImpl
          ImageOutputStreamImpl
Implements
 ImageOutputStream
Subclasses
Description
publicabstract abstract class ImageOutputStreamImpl
  An abstract class implementing the ImageOutputStream interface.
See also:   
Constructors
public ImageOutputStreamImpl ()
Constructs an ImageOutputStreamImpl.
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 [Inherited From ImageInputStreamImpl]
protected void finalize () throws Throwable [Inherited From 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]
protectedfinal void flushBits () throws IOException
  If the bit offset is non-zero, forces the remaining bits in the current byte to 0 and advances the stream position by one.
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 () [Inherited From ImageInputStreamImpl]
  Returns -1L to indicate that the stream has unknown length.
public void mark () [Inherited From ImageInputStreamImpl]
Pushes the current stream position onto a stack of marked positions.
publicabstract int read () throws IOException [Inherited From ImageInputStreamImpl]
  Reads a single byte from the stream and returns it as an int between 0 and 255.
public int read (byte[] b) throws IOException [Inherited From ImageInputStreamImpl]
  A convenience method that calls read(b, 0, b.length).
publicabstract int read (byte[] b, int off, int len) throws IOException [Inherited From ImageInputStreamImpl]
  Reads up to len bytes from the stream, and stores them into b starting at index off.
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 [Inherited From 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).
public void write (byte[] b) throws IOException [Specified in ImageOutputStream]
publicabstract void write (byte[] b, int off, int len) throws IOException [Specified in ImageOutputStream]
publicabstract void write (int b) throws IOException [Specified in ImageOutputStream]
public void writeBit (int bit) throws IOException [Specified in ImageOutputStream]
public void writeBits (long bits, int numBits) throws IOException [Specified in ImageOutputStream]
public void writeBoolean (boolean v) throws IOException [Specified in ImageOutputStream]
public void writeByte (int v) throws IOException [Specified in ImageOutputStream]
public void writeBytes (String s) throws IOException [Specified in ImageOutputStream]
public void writeChar (int v) throws IOException [Specified in ImageOutputStream]
public void writeChars (char[] c, int off, int len) throws IOException [Specified in ImageOutputStream]
public void writeChars (String s) throws IOException [Specified in ImageOutputStream]
public void writeDouble (double v) throws IOException [Specified in ImageOutputStream]
public void writeDoubles (double[] d, int off, int len) throws IOException [Specified in ImageOutputStream]
public void writeFloat (float v) throws IOException [Specified in ImageOutputStream]
public void writeFloats (float[] f, int off, int len) throws IOException [Specified in ImageOutputStream]
public void writeInt (int v) throws IOException [Specified in ImageOutputStream]
public void writeInts (int[] i, int off, int len) throws IOException [Specified in ImageOutputStream]
public void writeLong (long v) throws IOException [Specified in ImageOutputStream]
public void writeLongs (long[] l, int off, int len) throws IOException [Specified in ImageOutputStream]
public void writeShort (int v) throws IOException [Specified in ImageOutputStream]
public void writeShorts (short[] s, int off, int len) throws IOException [Specified in ImageOutputStream]
public void writeUTF (String s) throws IOException [Specified in ImageOutputStream]
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