public class IosImageLoaderFactory extends java.lang.Object implements ImageLoaderFactory
Modifier and Type | Field and Description |
---|---|
private static IosImageLoaderFactory |
theInstance |
Modifier | Constructor and Description |
---|---|
private |
IosImageLoaderFactory() |
Modifier and Type | Method and Description |
---|---|
ImageLoader |
createImageLoader(java.io.InputStream input)
Creates a loader for the specified stream.
|
ImageLoader |
createImageLoader(java.lang.String input)
Creates a loader for the specified input URL.
|
ImageFormatDescription |
getFormatDescription()
Gets a description of the image format for which this factory can create
loaders.
|
static IosImageLoaderFactory |
getInstance()
Returns an instance of IosImageLoaderFactory
|
private static IosImageLoaderFactory theInstance
public static final IosImageLoaderFactory 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
public ImageLoader createImageLoader(java.lang.String input) throws java.io.IOException
input
- a URL containing an image in the supported format.
- if there is an error creating the loader.java.io.IOException