javax.imageio.stream
public interface ImageOutputStream extends ImageInputStream, DataOutput
Since: 1.4
| Method Summary | |
|---|---|
| void | flushBefore(long position) |
| void | write(byte[] data)
Writes an array into the stream.
|
| void | write(byte[] data, int offset, int len)
Writes a region of data from an array into the stream.
|
| void | write(int data)
Writes an int into the stream.
|
| void | writeBit(int bit)
Writes a bit value to the stream.
|
| void | writeBits(long bits, int numBits)
Writes a number of bit values to the stream.
|
| void | writeBoolean(boolean data)
Writes a boolean value into the stream.
|
| void | writeByte(int data)
Writes a byte value into the stream.
|
| void | writeBytes(String data) |
| void | writeChar(int data)
Writes a character into the stream.
|
| void | writeChars(char[] data, int offset, int len)
Writes characters to the stream.
|
| void | writeChars(String data)
Writes characters from a given String into the stream.
|
| void | writeDouble(double data)
Writes a double into the stream.
|
| void | writeDoubles(double[] data, int offset, int len)
Writes an array of double into the stream.
|
| void | writeFloat(float data)
Writes a float into the stream.
|
| void | writeFloats(float[] data, int offset, int len)
Writes an array of float into the stream.
|
| void | writeInt(int data)
Writes a int into the stream.
|
| void | writeInts(int[] data, int offset, int len)
Writes an array of int into the stream.
|
| void | writeLong(long data)
Writes a long into the stream.
|
| void | writeLongs(long[] data, int offset, int len)
Writes an array of long into the stream.
|
| void | writeShort(int data)
Writes a short into the stream.
|
| void | writeShorts(short[] data, int offset, int len)
Writes an array of short into the stream.
|
| void | writeUTF(String data)
Writes a String into the stream.
|
Parameters: position
Throws: IOException if an errror occurs
Parameters: data the data to be written
Throws: IOException if an errror occurs
Parameters: data the data to be written offset the offset in the array len the length in the array
Throws: IOException if an errror occurs
int into the stream.
Parameters: data the data to be written
Throws: IOException if an errror occurs
Throws: IOException if an error occurs
Throws: IOException if an errror occurs
boolean value into the stream.
Parameters: data the data to be written
Throws: IOException if an errror occurs
byte value into the stream.
Parameters: data the data to be written
Throws: IOException if an errror occurs
Parameters: data the data to be written
Throws: IOException if an errror occurs
Parameters: data the data to be written
Throws: IOException if an errror occurs
Parameters: data the data to be written offset the offset in the array len the lenth in the array
Throws: IOException if an errror occurs
String into the stream.
Parameters: data the data to be written
Throws: IOException if an errror occurs
double into the stream.
Parameters: data the data to be written
Throws: IOException if an errror occurs
double into the stream.
Parameters: data the data to be written offset the offset in the array len the lenth in the array
Throws: IOException if an errror occurs
float into the stream.
Parameters: data the data to be written
Throws: IOException if an errror occurs
float into the stream.
Parameters: data the data to be written offset the offset in the array len the lenth in the array
Throws: IOException if an errror occurs
int into the stream.
Parameters: data the data to be written
Throws: IOException if an errror occurs
int into the stream.
Parameters: data the data to be written offset the offset in the array len the lenth in the array
Throws: IOException if an errror occurs
long into the stream.
Parameters: data the data to be written
Throws: IOException if an errror occurs
long into the stream.
Parameters: data the data to be written offset the offset in the array len the lenth in the array
Throws: IOException if an errror occurs
short into the stream.
Parameters: data the data to be written
Throws: IOException if an errror occurs
short into the stream.
Parameters: data the data to be written offset the offset in the array len the lenth in the array
Throws: IOException if an errror occurs
String into the stream.
Parameters: data the data to be written
Throws: IOException if an errror occurs