public class PNGImageLoaderFactory extends Object implements ImageLoaderFactory
Modifier and Type | Method and Description |
---|---|
ImageLoader |
createImageLoader(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() |
public static final ImageLoaderFactory getInstance()
public ImageFormatDescription getFormatDescription()
ImageLoaderFactory
getFormatDescription
in interface ImageLoaderFactory
public ImageLoader createImageLoader(InputStream input) throws IOException
ImageLoaderFactory
createImageLoader
in interface ImageLoaderFactory
input
- a stream containing an image in the supported format.IOException
Copyright © 2020. All rights reserved.