|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.axis.components.image.JimiIO
JIMI based Image I/O
Constructor Summary | |
JimiIO()
|
Method Summary | |
java.awt.Image |
loadImage(java.io.InputStream in)
Load an Image. |
void |
saveImage(java.lang.String id,
java.awt.Image image,
java.io.OutputStream os)
Save an image. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JimiIO()
Method Detail |
public void saveImage(java.lang.String id, java.awt.Image image, java.io.OutputStream os) throws java.lang.Exception
saveImage
in interface ImageIO
id
- the mime-type of the format to save the imageimage
- the image to saveos
- the output stream to write to
JimiException
- if an error prevents image encoding
java.lang.Exception
- if an error prevents image encodingpublic java.awt.Image loadImage(java.io.InputStream in) throws java.lang.Exception
loadImage
in interface ImageIO
in
- the stream to load the image
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |