软件包 | 描述 |
---|---|
javax.imageio |
java的图像I/O API主要包。
|
javax.imageio.spi |
一包I/O API包含读者、作家的插件接口,代码转换器,和溪流的java图像,和一个运行时注册表。
|
javax.imageio.stream |
一包I/O API处理底层I/O从文件和流的java图像。
|
Modifier and Type | Method and Description |
---|---|
static ImageInputStream |
ImageIO.createImageInputStream(Object input)
返回一个
ImageInputStream 将从给定的输入
Object 。
|
Modifier and Type | Method and Description |
---|---|
static BufferedImage |
ImageIO.read(ImageInputStream stream)
返回一个
BufferedImage 作为一个
ImageReader 自动选择从当前注册提供
ImageInputStream 解码结果。
|
Modifier and Type | Method and Description |
---|---|
ImageInputStream |
ImageInputStreamSpi.createInputStreamInstance(Object input)
返回与该服务提供商相关的
ImageInputStream 实现的一个实例。
|
abstract ImageInputStream |
ImageInputStreamSpi.createInputStreamInstance(Object input, boolean useCache, File cacheDir)
返回与该服务提供商相关的
ImageInputStream 实现的一个实例。
|
Modifier and Type | Interface and Description |
---|---|
interface |
ImageOutputStream
可查找的输出流接口使用的
ImageWriter s。
|
Modifier and Type | Class and Description |
---|---|
class |
FileCacheImageInputStream
对
ImageInputStream 获得其输入从一个普通的
InputStream 实现。
|
class |
FileCacheImageOutputStream
对
ImageOutputStream 写入输出到正规的
OutputStream 实现。
|
class |
FileImageInputStream
对
ImageInputStream 被输入一个
File 或
RandomAccessFile 实现。
|
class |
FileImageOutputStream
对
ImageOutputStream 写其直接输出到
File 或
RandomAccessFile 实现。
|
class |
ImageInputStreamImpl
一个抽象类实现接口的
ImageInputStream 。
|
class |
ImageOutputStreamImpl
一个抽象类实现接口的
ImageOutputStream 。
|
class |
MemoryCacheImageInputStream
对
ImageInputStream 获得其输入从一个普通的
InputStream 实现。
|
class |
MemoryCacheImageOutputStream
对
ImageOutputStream 写入输出到正规的
OutputStream 实现。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.