Class PNGImageLoader

  • All Implemented Interfaces:
    ImageLoader

    public class PNGImageLoader
    extends java.lang.Object
    implements ImageLoader
    Allowes to process PNF image format.
    Author:
    Alexandre Iline (alexandre.iline@sun.com)
    • Constructor Summary

      Constructors 
      Constructor Description
      PNGImageLoader()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.awt.image.BufferedImage load​(java.lang.String fileName)
      Loads an image from a PNG image file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PNGImageLoader

        public PNGImageLoader()
    • Method Detail

      • load

        public java.awt.image.BufferedImage load​(java.lang.String fileName)
                                          throws java.io.IOException
        Loads an image from a PNG image file.
        Specified by:
        load in interface ImageLoader
        Parameters:
        fileName - a file to load image from.
        Returns:
        a loaded image.
        Throws:
        java.io.IOException