- All Implemented Interfaces:
- Direct Known Subclasses:
public abstract class ImageOutputStreamImpl extends ImageInputStreamImpl implements ImageOutputStreamAn abstract class implementing the
ImageOutputStreaminterface. This class is designed to reduce the number of methods that must be implemented by subclasses.
Constructors Constructor Description
All Methods Instance Methods Concrete Methods Modifier and Type Method Description
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.
Methods declared in interface 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 declared in class javax.imageio.stream.ImageInputStreamImpl
checkClosed, finalize, isCached, isCachedFile, isCachedMemory, length, mark, read, read, read, reset, skipBytes, skipBytes
Methods declared in interface javax.imageio.stream.ImageOutputStream
flushBefore, write, write, write, writeBit, writeBits, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeChars, writeDouble, writeDoubles, writeFloat, writeFloats, writeInt, writeInts, writeLong, writeLongs, writeShort, writeShorts, writeUTF
protected final void flushBits() throws IOExceptionIf the bit offset is non-zero, forces the remaining bits in the current byte to 0 and advances the stream position by one. This method should be called by subclasses at the beginning of the
write(byte, int, int)methods.
IOException- if an I/O error occurs.