站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 jaxrpc API Documentation 英文版文档

ImageIO (JAXRPC API) - JBoss 3.2.7 jaxrpc API Documentation 英文版文档


org.apache.axis.components.image
Interface ImageIO

All Known Implementing Classes:
JDK13IO

public interface ImageIO

This interface defines a ImageIO modules functionality

Since:
2.0
Version:
$Revision: 1.1.1.1 $ $Date: 2004/08/20 18:42:35 $
Author:
Davanum Srinivas

Method Summary
 Image loadImage(InputStream in)
          Load an Image.
 void saveImage(String id, Image image, OutputStream os)
          Save an image.
 

Method Detail

saveImage

public void saveImage(String id,
                      Image image,
                      OutputStream os)
               throws Exception
Save an image.

Parameters:
id - the mime-type of the format to save the image
image - the image to save
os - the output stream to write to
Throws:
Exception - if an error prevents image encoding

loadImage

public Image loadImage(InputStream in)
                throws Exception
Load an Image.

Parameters:
in - the stream to load the image
Returns:
the Image
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.