FileDocCategorySizeDatePackage
ImageOutputStreamImpl.javaAPI DocAndroid 1.5 API5091Wed May 06 22:41:54 BST 2009javax.imageio.stream

ImageOutputStreamImpl

public abstract class ImageOutputStreamImpl extends ImageInputStreamImpl implements ImageOutputStream
The ImageOutputStreamImpl abstract class implements the ImageOutputStream interface.
since
Android 1.0

Fields Summary
Constructors Summary
public ImageOutputStreamImpl()
Instantiates a new ImageOutputStreamImpl.

    
Methods Summary
protected final voidflushBits()
Flushes the bits. This method should be called in the write methods by subclasses.

throws
IOException if an I/O exception has occurred.

        if (bitOffset == 0) {
            return;
        }

        // -- TODO implement
        throw new UnsupportedOperationException("Not implemented yet");
    
public abstract voidwrite(int b)

public voidwrite(byte[] b)

        write(b, 0, b.length);
    
public abstract voidwrite(byte[] b, int off, int len)

public voidwriteBit(int bit)

        // -- TODO implement
        throw new UnsupportedOperationException("Not implemented yet");
    
public voidwriteBits(long bits, int numBits)

        // -- TODO implement
        throw new UnsupportedOperationException("Not implemented yet");
    
public voidwriteBoolean(boolean v)

        write(v ? 1 : 0);
    
public voidwriteByte(int v)

        write(v);
    
public voidwriteBytes(java.lang.String s)

        write(s.getBytes());
    
public voidwriteChar(int v)

        writeShort(v);
    
public voidwriteChars(java.lang.String s)

        char[] chs = s.toCharArray();
        writeChars(chs, 0, chs.length);
    
public voidwriteChars(char[] c, int off, int len)

        // -- TODO implement
        throw new UnsupportedOperationException("Not implemented yet");
    
public voidwriteDouble(double v)

        writeLong(Double.doubleToLongBits(v));
    
public voidwriteDoubles(double[] d, int off, int len)

        // -- TODO implement
        throw new UnsupportedOperationException("Not implemented yet");
    
public voidwriteFloat(float v)

        writeInt(Float.floatToIntBits(v));
    
public voidwriteFloats(float[] f, int off, int len)

        // -- TODO implement
        throw new UnsupportedOperationException("Not implemented yet");
    
public voidwriteInt(int v)

        if (byteOrder == ByteOrder.BIG_ENDIAN) {

        } else {

        }
        // -- TODO implement
        throw new UnsupportedOperationException("Not implemented yet");
    
public voidwriteInts(int[] i, int off, int len)

        // -- TODO implement
        throw new UnsupportedOperationException("Not implemented yet");
    
public voidwriteLong(long v)

        if (byteOrder == ByteOrder.BIG_ENDIAN) {

        } else {

        }
        // -- TODO implement
        throw new UnsupportedOperationException("Not implemented yet");
    
public voidwriteLongs(long[] l, int off, int len)

        // -- TODO implement
        throw new UnsupportedOperationException("Not implemented yet");
    
public voidwriteShort(int v)

        if (byteOrder == ByteOrder.BIG_ENDIAN) {

        } else {

        }
        // -- TODO implement
        throw new UnsupportedOperationException("Not implemented yet");
    
public voidwriteShorts(short[] s, int off, int len)

        // -- TODO implement
        throw new UnsupportedOperationException("Not implemented yet");
    
public voidwriteUTF(java.lang.String s)

        // -- TODO implement
        throw new UnsupportedOperationException("Not implemented yet");