public class PNGImageLoaderFactory extends java.lang.Object implements ImageLoaderFactory
Modifier and Type | Field and Description |
---|---|
private static PNGImageLoaderFactory |
theInstance |
Modifier | Constructor and Description |
---|---|
private |
PNGImageLoaderFactory() |
Modifier and Type | Method and Description |
---|---|
ImageLoader |
createImageLoader(java.io.InputStream input)
Creates a loader for the specified stream.
|
ImageFormatDescription |
getFormatDescription()
Gets a description of the image format for which this factory can create
loaders.
|
static ImageLoaderFactory |
getInstance() |
private static final PNGImageLoaderFactory theInstance
public static final ImageLoaderFactory getInstance()
public ImageFormatDescription getFormatDescription()
ImageLoaderFactory
getFormatDescription
in interface ImageLoaderFactory
public ImageLoader createImageLoader(java.io.InputStream input) throws java.io.IOException
ImageLoaderFactory
createImageLoader
in interface ImageLoaderFactory
input
- a stream containing an image in the supported format.java.io.IOException