Package javax.imageio.stream
See: Description
-
Interface Summary Interface Description ImageInputStream A seekable input stream interface for use byImageReader
s.ImageOutputStream A seekable output stream interface for use byImageWriter
s. -
Class Summary Class Description FileCacheImageInputStream An implementation ofImageInputStream
that gets its input from a regularInputStream
.FileCacheImageOutputStream An implementation ofImageOutputStream
that writes its output to a regularOutputStream
.FileImageInputStream An implementation ofImageInputStream
that gets its input from aFile
orRandomAccessFile
.FileImageOutputStream An implementation ofImageOutputStream
that writes its output directly to aFile
orRandomAccessFile
.IIOByteBuffer A class representing a mutable reference to an array of bytes and an offset and length within that array.ImageInputStreamImpl An abstract class implementing theImageInputStream
interface.ImageOutputStreamImpl An abstract class implementing theImageOutputStream
interface.MemoryCacheImageInputStream An implementation ofImageInputStream
that gets its input from a regularInputStream
.MemoryCacheImageOutputStream An implementation ofImageOutputStream
that writes its output to a regularOutputStream
.
Package javax.imageio.stream Description
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
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/imageio/stream/package-summary.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.