package.html revision 2362
0N/A<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
0N/A<html>
0N/A<head>
0N/A<!--
0N/ACopyright (c) 2000, Oracle and/or its affiliates. All rights reserved.
0N/ADO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A
0N/AThis code is free software; you can redistribute it and/or modify it
0N/Aunder the terms of the GNU General Public License version 2 only, as
0N/Apublished by the Free Software Foundation. Oracle designates this
0N/Aparticular file as subject to the "Classpath" exception as provided
0N/Aby Oracle in the LICENSE file that accompanied this code.
0N/A
0N/AThis code is distributed in the hope that it will be useful, but WITHOUT
0N/AANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/AFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/Aversion 2 for more details (a copy is included in the LICENSE file that
0N/Aaccompanied this code).
0N/A
0N/AYou should have received a copy of the GNU General Public License version
5371N/A2 along with this work; if not, write to the Free Software Foundation,
5012N/AInc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
5371N/A
5371N/APlease contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
5371N/ACA 95054 USA or visit www.sun.com if you need additional information or
5012N/Ahave any questions.
3516N/A-->
5012N/A
3516N/A</head>
5012N/A
0N/A<body bgcolor="white">
5012N/A
5012N/AA package of the Java Image I/O API dealing with low-level I/O from
0N/Afiles and streams.
5012N/A
5012N/A<p>
3516N/A
3516N/AThe <code>ImageInputStream</code> interface unifies streaming and
3516N/Afile-based operations. An abstract base class,
5012N/A<code>ImageInputStreamImpl</code> is provided to simplify writing
5012N/Aa new <code>ImageInputStream</code> class. Concrete implementation
5012N/Aclasses (<code>FileImageInputStream</code>,
5012N/A<code>FileCacheImageInputStream</code>, and
5012N/A<code>MemoryCacheImageInputStream</code>) are provided that allow
5012N/Ainput to come from a <code>File</code> or <code>InputStream</code>
5012N/Awith or without the use of a temporary cache file.
5012N/A
<p>
The <code>ImageOutputStream</code> interface performs an analogous
function for output. An abstract base class,
<code>ImageOutputStreamImpl</code> is provided, along with
concrete implementation classes (<code>FileImageOutputStream</code>,
<code>FileCacheImageOutputStream</code>, and
<code>MemoryCacheImageOutputStream</code>) are provided that allow
output to go to a <code>File</code> or <code>OutputStream</code> with
or without the use of a temporary cache file.
<p>
The <code>IIOByteBuffer</code> class provides an alternative way to
perform reads of sequences of bytes that reduces the amount of
internal data copying.
@since 1.4
</body>
</html>