author | ohair |
Wed, 26 May 2010 20:28:04 -0700 | |
changeset 5551 | 327690766109 |
parent 5506 | 202f599c92aa |
permissions | -rw-r--r-- |
2 | 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> |
2 |
<html> |
|
3 |
<head> |
|
4 |
<!-- |
|
5506 | 5 |
Copyright (c) 2000, Oracle and/or its affiliates. All rights reserved. |
2 | 6 |
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
7 |
||
8 |
This code is free software; you can redistribute it and/or modify it |
|
9 |
under the terms of the GNU General Public License version 2 only, as |
|
5506 | 10 |
published by the Free Software Foundation. Oracle designates this |
2 | 11 |
particular file as subject to the "Classpath" exception as provided |
5506 | 12 |
by Oracle in the LICENSE file that accompanied this code. |
2 | 13 |
|
14 |
This code is distributed in the hope that it will be useful, but WITHOUT |
|
15 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
16 |
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
17 |
version 2 for more details (a copy is included in the LICENSE file that |
|
18 |
accompanied this code). |
|
19 |
||
20 |
You should have received a copy of the GNU General Public License version |
|
21 |
2 along with this work; if not, write to the Free Software Foundation, |
|
22 |
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
23 |
||
5551
327690766109
6956202: Fix a few missed rebranding issues, please contact lines etc.
ohair
parents:
5506
diff
changeset
|
24 |
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
327690766109
6956202: Fix a few missed rebranding issues, please contact lines etc.
ohair
parents:
5506
diff
changeset
|
25 |
or visit www.oracle.com if you need additional information or have any |
327690766109
6956202: Fix a few missed rebranding issues, please contact lines etc.
ohair
parents:
5506
diff
changeset
|
26 |
questions. |
2 | 27 |
--> |
28 |
||
29 |
</head> |
|
30 |
||
31 |
<body bgcolor="white"> |
|
32 |
||
33 |
A package of the Java Image I/O API dealing with low-level I/O from |
|
34 |
files and streams. |
|
35 |
||
36 |
<p> |
|
37 |
||
38 |
The <code>ImageInputStream</code> interface unifies streaming and |
|
39 |
file-based operations. An abstract base class, |
|
40 |
<code>ImageInputStreamImpl</code> is provided to simplify writing |
|
41 |
a new <code>ImageInputStream</code> class. Concrete implementation |
|
42 |
classes (<code>FileImageInputStream</code>, |
|
43 |
<code>FileCacheImageInputStream</code>, and |
|
44 |
<code>MemoryCacheImageInputStream</code>) are provided that allow |
|
45 |
input to come from a <code>File</code> or <code>InputStream</code> |
|
46 |
with or without the use of a temporary cache file. |
|
47 |
||
48 |
<p> |
|
49 |
||
50 |
The <code>ImageOutputStream</code> interface performs an analogous |
|
51 |
function for output. An abstract base class, |
|
52 |
<code>ImageOutputStreamImpl</code> is provided, along with |
|
53 |
concrete implementation classes (<code>FileImageOutputStream</code>, |
|
54 |
<code>FileCacheImageOutputStream</code>, and |
|
55 |
<code>MemoryCacheImageOutputStream</code>) are provided that allow |
|
56 |
output to go to a <code>File</code> or <code>OutputStream</code> with |
|
57 |
or without the use of a temporary cache file. |
|
58 |
||
59 |
<p> |
|
60 |
||
61 |
The <code>IIOByteBuffer</code> class provides an alternative way to |
|
62 |
perform reads of sequences of bytes that reduces the amount of |
|
63 |
internal data copying. |
|
64 |
||
65 |
@since 1.4 |
|
66 |
</body> |
|
67 |
</html> |