Package javax.imageio.stream
The ImageInputStream interface unifies streaming and file-based
operations. An abstract base class, ImageInputStreamImpl is provided
to simplify writing a new ImageInputStream class. Concrete
implementation classes (FileImageInputStream,
FileCacheImageInputStream, and MemoryCacheImageInputStream)
are provided that allow input to come from a File or
InputStream with or without the use of a temporary cache file.
The ImageOutputStream interface performs an analogous function for
output. An abstract base class, ImageOutputStreamImpl is provided,
along with concrete implementation classes (FileImageOutputStream,
FileCacheImageOutputStream, and MemoryCacheImageOutputStream)
are provided that allow output to go to a File or
OutputStream with or without the use of a temporary cache file.
The IIOByteBuffer class provides an alternative way to perform reads
of sequences of bytes that reduces the amount of internal data copying.
- Since:
- 1.4
-
ClassDescriptionAn implementation of
ImageInputStreamthat gets its input from a regularInputStream.An implementation ofImageOutputStreamthat writes its output to a regularOutputStream.An implementation ofImageInputStreamthat gets its input from aFileorRandomAccessFile.An implementation ofImageOutputStreamthat writes its output directly to aFileorRandomAccessFile.A class representing a mutable reference to an array of bytes and an offset and length within that array.A seekable input stream interface for use byImageReaders.An abstract class implementing theImageInputStreaminterface.A seekable output stream interface for use byImageWriters.An abstract class implementing theImageOutputStreaminterface.An implementation ofImageInputStreamthat gets its input from a regularInputStream.An implementation ofImageOutputStreamthat writes its output to a regularOutputStream.