Interface ImageSaver

  • All Known Implementing Classes:
    PNGImageSaver

    public interface ImageSaver
    Interface for classes performing image saving.
    Author:
    Alexandre Iline (alexandre.iline@sun.com)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void save​(java.awt.image.BufferedImage image, java.lang.String fileName)
      Should save image into file.
    • Method Detail

      • save

        void save​(java.awt.image.BufferedImage image,
                  java.lang.String fileName)
           throws java.io.IOException
        Should save image into file.
        Parameters:
        image - an image to be saved.
        fileName - a file to load image from.
        Throws:
        java.io.IOException