Save This Page
Home » openjdk-7 » javax » imageio » stream » [javadoc | source]
javax.imageio.stream
abstract public class: ImageOutputStreamImpl [javadoc | source]
java.lang.Object
   javax.imageio.stream.ImageInputStreamImpl
      javax.imageio.stream.ImageOutputStreamImpl

All Implemented Interfaces:
    ImageOutputStream, ImageInputStream

Direct Known Subclasses:
    FileCacheImageOutputStream, MemoryCacheImageOutputStream, FileImageOutputStream

An abstract class implementing the ImageOutputStream interface. This class is designed to reduce the number of methods that must be implemented by subclasses.
Fields inherited from javax.imageio.stream.ImageInputStreamImpl:
byteBuf,  byteOrder,  streamPos,  bitOffset,  flushedPos
Constructor:
 public ImageOutputStreamImpl() 
Method from javax.imageio.stream.ImageOutputStreamImpl Summary:
flushBits,   write,   write,   write,   writeBit,   writeBits,   writeBoolean,   writeByte,   writeBytes,   writeChar,   writeChars,   writeChars,   writeDouble,   writeDoubles,   writeFloat,   writeFloats,   writeInt,   writeInts,   writeLong,   writeLongs,   writeShort,   writeShorts,   writeUTF
Methods from javax.imageio.stream.ImageInputStreamImpl:
checkClosed,   close,   finalize,   flush,   flushBefore,   getBitOffset,   getByteOrder,   getFlushedPosition,   getStreamPosition,   isCached,   isCachedFile,   isCachedMemory,   length,   mark,   read,   read,   read,   readBit,   readBits,   readBoolean,   readByte,   readBytes,   readChar,   readDouble,   readFloat,   readFully,   readFully,   readFully,   readFully,   readFully,   readFully,   readFully,   readFully,   readInt,   readLine,   readLong,   readShort,   readUTF,   readUnsignedByte,   readUnsignedInt,   readUnsignedShort,   reset,   seek,   setBitOffset,   setByteOrder,   skipBytes,   skipBytes
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.imageio.stream.ImageOutputStreamImpl Detail:
 protected final  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. This method should be called by subclasses at the beginning of the write(int) and write(byte[], int, int) methods.
 abstract public  void write(int b) throws IOException
 public  void write(byte[] b) throws IOException 
 abstract public  void write(byte[] b,
    int off,
    int len) throws IOException
 public  void writeBit(int bit) throws IOException 
 public  void writeBits(long bits,
    int numBits) throws IOException 
 public  void writeBoolean(boolean v) throws IOException 
 public  void writeByte(int v) throws IOException 
 public  void writeBytes(String s) throws IOException 
 public  void writeChar(int v) throws IOException 
 public  void writeChars(String s) throws IOException 
 public  void writeChars(char[] c,
    int off,
    int len) throws IOException 
 public  void writeDouble(double v) throws IOException 
 public  void writeDoubles(double[] d,
    int off,
    int len) throws IOException 
 public  void writeFloat(float v) throws IOException 
 public  void writeFloats(float[] f,
    int off,
    int len) throws IOException 
 public  void writeInt(int v) throws IOException 
 public  void writeInts(int[] i,
    int off,
    int len) throws IOException 
 public  void writeLong(long v) throws IOException 
 public  void writeLongs(long[] l,
    int off,
    int len) throws IOException 
 public  void writeShort(int v) throws IOException 
 public  void writeShorts(short[] s,
    int off,
    int len) throws IOException 
 public  void writeUTF(String s) throws IOException