Interface ImageLoader

  • All Known Implementing Classes:
    PNGImageLoader

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.awt.image.BufferedImage load​(java.lang.String fileName)
      Loads an image from file.
    • Method Detail

      • load

        java.awt.image.BufferedImage load​(java.lang.String fileName)
                                   throws java.io.IOException
        Loads an image from file.
        Parameters:
        fileName - a file to load image from.
        Returns:
        a loaded image.
        Throws:
        java.io.IOException