Package org.netbeans.jemmy.image
Class PNGImageLoader
- java.lang.Object
-
- 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
Constructors Constructor Description PNGImageLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedImage
load(String fileName)
Loads an image from a PNG image file.
-
-
-
Method Detail
-
load
public BufferedImage load(String fileName) throws 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:
IOException
-
-