Package org.netbeans.jemmy.image
Class PNGImageLoader
- java.lang.Object
-
- org.netbeans.jemmy.image.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.
-
-
-
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 interfaceImageLoader
- Parameters:
fileName
- a file to load image from.- Returns:
- a loaded image.
- Throws:
java.io.IOException
-
-