javax.imageio.stream
Interface ImageOutputStream
- DataInput, DataOutput, ImageInputStream
- FileCacheImageOutputStream, FileImageOutputStream, ImageOutputStreamImpl, MemoryCacheImageOutputStream
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.
|
readBoolean , readByte , readChar , readDouble , readFloat , readFully , readFully , readInt , readLine , readLong , readShort , readUTF , readUnsignedByte , readUnsignedShort , skipBytes |
write , write , write , writeBoolean , writeByte , writeBytes , writeChar , writeChars , writeDouble , writeFloat , writeInt , writeLong , writeShort , writeUTF |
close , 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 |
write
public void write(byte[] data,
int offset,
int len)
throws IOException
Writes a region of data from an array into the stream.
- write in interface DataOutput
data
- the data to be writtenoffset
- the offset in the arraylen
- the length in the array
writeBits
public void writeBits(long bits,
int numBits)
throws IOException
Writes a number of bit values to the stream.
writeChars
public void writeChars(char[] data,
int offset,
int len)
throws IOException
Writes characters to the stream.
data
- the data to be writtenoffset
- the offset in the arraylen
- the lenth in the array
writeDoubles
public void writeDoubles(double[] data,
int offset,
int len)
throws IOException
Writes an array of double
into the stream.
data
- the data to be writtenoffset
- the offset in the arraylen
- the lenth in the array
writeFloats
public void writeFloats(float[] data,
int offset,
int len)
throws IOException
Writes an array of float
into the stream.
data
- the data to be writtenoffset
- the offset in the arraylen
- the lenth in the array
writeInts
public void writeInts(int[] data,
int offset,
int len)
throws IOException
Writes an array of int
into the stream.
data
- the data to be writtenoffset
- the offset in the arraylen
- the lenth in the array
writeLongs
public void writeLongs(long[] data,
int offset,
int len)
throws IOException
Writes an array of long
into the stream.
data
- the data to be writtenoffset
- the offset in the arraylen
- the lenth in the array
writeShorts
public void writeShorts(short[] data,
int offset,
int len)
throws IOException
Writes an array of short
into the stream.
data
- the data to be writtenoffset
- the offset in the arraylen
- the lenth in the array
ImageOutputStream.java
Copyright (C) 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version.