Class MerlinIO

java.lang.Object
java.awt.Component
org.apache.axis.components.image.MerlinIO
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, ImageIO

public class MerlinIO extends Component implements ImageIO
JDK1.4 based Image I/O NOTE: NEEDS WORK!!!! NEEDS TO BE TESTED.
Since:
2.0
Author:
Davanum Srinivas
See Also:
  • Constructor Details

    • MerlinIO

      public MerlinIO()
  • Method Details

    • saveImage

      public void saveImage(String mimeType, Image image, OutputStream os) throws Exception
      Save an image.
      Specified by:
      saveImage in interface ImageIO
      Parameters:
      mimeType - the mime-type of the format to save the image
      image - the image to save
      os - the stream to write to
    • loadImage

      public Image loadImage(InputStream in) throws Exception
      Load an Image.
      Specified by:
      loadImage in interface ImageIO
      Parameters:
      in - the stream to load the image
      Returns:
      the Image
      Throws:
      Exception