Class ImageOutputStreamImpl
- java.lang.Object
-
- com.tom_roush.harmony.javax.imageio.stream.ImageInputStreamImpl
-
- com.tom_roush.harmony.javax.imageio.stream.ImageOutputStreamImpl
-
- All Implemented Interfaces:
ImageInputStream,ImageOutputStream,DataInput,DataOutput
- Direct Known Subclasses:
MemoryCacheImageOutputStream
public abstract class ImageOutputStreamImpl extends ImageInputStreamImpl implements ImageOutputStream
-
-
Field Summary
-
Fields inherited from class com.tom_roush.harmony.javax.imageio.stream.ImageInputStreamImpl
bitOffset, byteOrder, flushedPos, streamPos
-
-
Constructor Summary
Constructors Constructor Description ImageOutputStreamImpl()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidflushBits()voidwrite(byte[] b)abstract voidwrite(byte[] b, int off, int len)abstract voidwrite(int b)DataOutput methods redeclarationvoidwriteBit(int bit)voidwriteBits(long bits, int numBits)voidwriteBoolean(boolean v)voidwriteByte(int v)voidwriteBytes(String s)voidwriteChar(int v)voidwriteChars(char[] c, int off, int len)voidwriteChars(String s)voidwriteDouble(double v)voidwriteDoubles(double[] d, int off, int len)voidwriteFloat(float v)voidwriteFloats(float[] f, int off, int len)voidwriteInt(int v)voidwriteInts(int[] i, int off, int len)voidwriteLong(long v)voidwriteLongs(long[] l, int off, int len)voidwriteShort(int v)voidwriteShorts(short[] s, int off, int len)ImageOutputStream specific methodsvoidwriteUTF(String s)-
Methods inherited from class com.tom_roush.harmony.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, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, seek, setBitOffset, setByteOrder, skipBytes, skipBytes
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tom_roush.harmony.javax.imageio.stream.ImageInputStream
close, flush, 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, readUnsignedByte, readUnsignedInt, readUnsignedShort, readUTF, reset, seek, setBitOffset, setByteOrder, skipBytes, skipBytes
-
Methods inherited from interface com.tom_roush.harmony.javax.imageio.stream.ImageOutputStream
flushBefore
-
-
-
-
Method Detail
-
write
public abstract void write(int b) throws IOExceptionDescription copied from interface:ImageOutputStreamDataOutput methods redeclaration- Specified by:
writein interfaceDataOutput- Specified by:
writein interfaceImageOutputStream- Throws:
IOException
-
write
public void write(byte[] b) throws IOException- Specified by:
writein interfaceDataOutput- Specified by:
writein interfaceImageOutputStream- Throws:
IOException
-
write
public abstract void write(byte[] b, int off, int len) throws IOException- Specified by:
writein interfaceDataOutput- Specified by:
writein interfaceImageOutputStream- Throws:
IOException
-
writeBoolean
public void writeBoolean(boolean v) throws IOException- Specified by:
writeBooleanin interfaceDataOutput- Specified by:
writeBooleanin interfaceImageOutputStream- Throws:
IOException
-
writeByte
public void writeByte(int v) throws IOException- Specified by:
writeBytein interfaceDataOutput- Specified by:
writeBytein interfaceImageOutputStream- Throws:
IOException
-
writeShort
public void writeShort(int v) throws IOException- Specified by:
writeShortin interfaceDataOutput- Specified by:
writeShortin interfaceImageOutputStream- Throws:
IOException
-
writeChar
public void writeChar(int v) throws IOException- Specified by:
writeCharin interfaceDataOutput- Specified by:
writeCharin interfaceImageOutputStream- Throws:
IOException
-
writeInt
public void writeInt(int v) throws IOException- Specified by:
writeIntin interfaceDataOutput- Specified by:
writeIntin interfaceImageOutputStream- Throws:
IOException
-
writeLong
public void writeLong(long v) throws IOException- Specified by:
writeLongin interfaceDataOutput- Specified by:
writeLongin interfaceImageOutputStream- Throws:
IOException
-
writeFloat
public void writeFloat(float v) throws IOException- Specified by:
writeFloatin interfaceDataOutput- Specified by:
writeFloatin interfaceImageOutputStream- Throws:
IOException
-
writeDouble
public void writeDouble(double v) throws IOException- Specified by:
writeDoublein interfaceDataOutput- Specified by:
writeDoublein interfaceImageOutputStream- Throws:
IOException
-
writeBytes
public void writeBytes(String s) throws IOException
- Specified by:
writeBytesin interfaceDataOutput- Specified by:
writeBytesin interfaceImageOutputStream- Throws:
IOException
-
writeChars
public void writeChars(String s) throws IOException
- Specified by:
writeCharsin interfaceDataOutput- Specified by:
writeCharsin interfaceImageOutputStream- Throws:
IOException
-
writeUTF
public void writeUTF(String s) throws IOException
- Specified by:
writeUTFin interfaceDataOutput- Specified by:
writeUTFin interfaceImageOutputStream- Throws:
IOException
-
writeShorts
public void writeShorts(short[] s, int off, int len) throws IOExceptionDescription copied from interface:ImageOutputStreamImageOutputStream specific methods- Specified by:
writeShortsin interfaceImageOutputStream- Throws:
IOException
-
writeChars
public void writeChars(char[] c, int off, int len) throws IOException- Specified by:
writeCharsin interfaceImageOutputStream- Throws:
IOException
-
writeInts
public void writeInts(int[] i, int off, int len) throws IOException- Specified by:
writeIntsin interfaceImageOutputStream- Throws:
IOException
-
writeLongs
public void writeLongs(long[] l, int off, int len) throws IOException- Specified by:
writeLongsin interfaceImageOutputStream- Throws:
IOException
-
writeFloats
public void writeFloats(float[] f, int off, int len) throws IOException- Specified by:
writeFloatsin interfaceImageOutputStream- Throws:
IOException
-
writeDoubles
public void writeDoubles(double[] d, int off, int len) throws IOException- Specified by:
writeDoublesin interfaceImageOutputStream- Throws:
IOException
-
writeBit
public void writeBit(int bit) throws IOException- Specified by:
writeBitin interfaceImageOutputStream- Throws:
IOException
-
writeBits
public void writeBits(long bits, int numBits) throws IOException- Specified by:
writeBitsin interfaceImageOutputStream- Throws:
IOException
-
flushBits
protected final void flushBits() throws IOException- Throws:
IOException
-
-