org.netbeans.jemmy.image
Class PNGImageLoader

java.lang.Object
  extended by org.netbeans.jemmy.image.PNGImageLoader
All Implemented Interfaces:
ImageLoader

public class PNGImageLoader
extends Object
implements ImageLoader

Allowes to process PNF image format.

Author:
Alexandre Iline (alexandre.iline@sun.com)

Constructor Summary
PNGImageLoader()
           
 
Method Summary
 BufferedImage load(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 BufferedImage load(String fileName)
                   throws 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:
IOException