Interface ImageOutputStream
-
- All Superinterfaces:
DataInput,DataOutput,ImageInputStream
- All Known Implementing Classes:
ImageOutputStreamImpl,MemoryCacheImageOutputStream
public interface ImageOutputStream extends DataOutput, ImageInputStream
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidflushBefore(long pos)ImageInputStream methodvoidwrite(byte[] b)voidwrite(byte[] b, int off, int len)voidwrite(int b)DataOutput methods redeclarationvoidwriteBit(int bit)voidwriteBits(long bits, int numBits)voidwriteBoolean(boolean b)voidwriteByte(int b)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 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
-
-
-
-
Method Detail
-
write
void write(int b) throws IOExceptionDataOutput methods redeclaration- Specified by:
writein interfaceDataOutput- Throws:
IOException
-
write
void write(byte[] b) throws IOException- Specified by:
writein interfaceDataOutput- Throws:
IOException
-
write
void write(byte[] b, int off, int len) throws IOException- Specified by:
writein interfaceDataOutput- Throws:
IOException
-
writeBoolean
void writeBoolean(boolean b) throws IOException- Specified by:
writeBooleanin interfaceDataOutput- Throws:
IOException
-
writeByte
void writeByte(int b) throws IOException- Specified by:
writeBytein interfaceDataOutput- Throws:
IOException
-
writeShort
void writeShort(int v) throws IOException- Specified by:
writeShortin interfaceDataOutput- Throws:
IOException
-
writeChar
void writeChar(int v) throws IOException- Specified by:
writeCharin interfaceDataOutput- Throws:
IOException
-
writeInt
void writeInt(int v) throws IOException- Specified by:
writeIntin interfaceDataOutput- Throws:
IOException
-
writeLong
void writeLong(long v) throws IOException- Specified by:
writeLongin interfaceDataOutput- Throws:
IOException
-
writeFloat
void writeFloat(float v) throws IOException- Specified by:
writeFloatin interfaceDataOutput- Throws:
IOException
-
writeDouble
void writeDouble(double v) throws IOException- Specified by:
writeDoublein interfaceDataOutput- Throws:
IOException
-
writeBytes
void writeBytes(String s) throws IOException
- Specified by:
writeBytesin interfaceDataOutput- Throws:
IOException
-
writeChars
void writeChars(String s) throws IOException
- Specified by:
writeCharsin interfaceDataOutput- Throws:
IOException
-
writeUTF
void writeUTF(String s) throws IOException
- Specified by:
writeUTFin interfaceDataOutput- Throws:
IOException
-
flushBefore
void flushBefore(long pos) throws IOExceptionImageInputStream method- Specified by:
flushBeforein interfaceImageInputStream- Throws:
IOException
-
writeShorts
void writeShorts(short[] s, int off, int len) throws IOExceptionImageOutputStream specific methods- Throws:
IOException
-
writeChars
void writeChars(char[] c, int off, int len) throws IOException- Throws:
IOException
-
writeInts
void writeInts(int[] i, int off, int len) throws IOException- Throws:
IOException
-
writeLongs
void writeLongs(long[] l, int off, int len) throws IOException- Throws:
IOException
-
writeFloats
void writeFloats(float[] f, int off, int len) throws IOException- Throws:
IOException
-
writeDoubles
void writeDoubles(double[] d, int off, int len) throws IOException- Throws:
IOException
-
writeBit
void writeBit(int bit) throws IOException- Throws:
IOException
-
writeBits
void writeBits(long bits, int numBits) throws IOException- Throws:
IOException
-
-