|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object![]()
![]()
![]()
javax.imageio.stream.ImageInputStreamImpl
![]()
![]()
![]()
javax.imageio.stream.ImageOutputStreamImpl
, DataOutput
, ImageInputStream
, ImageOutputStream

, FileImageOutputStream
, MemoryCacheImageOutputStream

public abstract class ImageOutputStreamImpl


An abstract class implementing the ImageOutputStream interface.
This class is designed to reduce the number of methods that must
be implemented by subclasses.
| Field Summary |
|---|
Fields inherited from class javax.imageio.stream.ImageInputStreamImpl ![]() |
|---|
bitOffset |
| Constructor Summary | |
|---|---|
ImageOutputStreamImpl
Constructs an ImageOutputStreamImpl. |
|
| Method Summary | |
|---|---|
protected void |
flushBits
If the bit offset is non-zero, forces the remaining bits in the current byte to 0 and advances the stream position by one. |
void |
write
Writes to the output stream all the bytes in array b. |
abstract void |
write
Writes len bytes from array
b, in order, to
the output stream. |
abstract void |
write
Writes to the output stream the eight low-order bits of the argument b. |
void |
writeBit
Writes a single bit, given by the least significant bit of the argument, to the stream at the current bit offset within the current byte position. |
void |
writeBits
Writes a sequence of bits, given by the numBits
least significant bits of the bits argument in
left-to-right order, to the stream at the current bit offset
within the current byte position. |
void |
writeBoolean
Writes a boolean value to this output stream. |
void |
writeByte
Writes to the output stream the eight low- order bits of the argument v. |
void |
writeBytes
Writes a string to the output stream. |
void |
writeChar
Writes a char value, which
is comprised of two bytes, to the
output stream. |
void |
writeChars
Writes a sequence of chars to the stream at the current position. |
void |
writeChars
Writes every character in the string s,
to the output stream, in order,
two bytes per character. |
void |
writeDouble
Writes a double value,
which is comprised of eight bytes, to the output stream. |
void |
writeDoubles
Writes a sequence of doubles to the stream at the current position. |
void |
writeFloat
Writes a float value,
which is comprised of four bytes, to the output stream. |
void |
writeFloats
Writes a sequence of floats to the stream at the current position. |
void |
writeInt
Writes an int value, which is
comprised of four bytes, to the output stream. |
void |
writeInts
Writes a sequence of ints to the stream at the current position. |
void |
writeLong
Writes a long value, which is
comprised of eight bytes, to the output stream. |
void |
writeLongs
Writes a sequence of longs to the stream at the current position. |
void |
writeShort
Writes two bytes to the output stream to represent the value of the argument. |
void |
writeShorts
Writes a sequence of shorts to the stream at the current position. |
void |
writeUTF
Writes two bytes of length information to the output stream, followed by the modified UTF-8 representation of every character in the string s. |
Methods inherited from class javax.imageio.stream.ImageInputStreamImpl ![]() |
|---|
checkClosed |
Methods inherited from class java.lang.Object ![]() |
|---|
clone |
Methods inherited from interface javax.imageio.stream.ImageOutputStream ![]() |
|---|
flushBefore |
Methods inherited from interface javax.imageio.stream.ImageInputStream ![]() |
|---|
close |