public interface ImageIO
void saveImage(java.lang.String id,
java.awt.Image image,
java.io.OutputStream os)
throws java.lang.Exception
id - the mime-type of the format to save the imageimage - the image to saveos - the output stream to write tojava.lang.Exception - if an error prevents image encodingjava.awt.Image loadImage(java.io.InputStream in)
throws java.lang.Exception
in - the stream to load the imagejava.lang.ExceptionCopyright ? 2005 Apache Web Services Project. All Rights Reserved.