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()
ImageLoaderFactorygetFormatDescription in interface ImageLoaderFactorypublic ImageLoader createImageLoader(java.io.InputStream input) throws java.io.IOException
ImageLoaderFactorycreateImageLoader in interface ImageLoaderFactoryinput - a stream containing an image in the supported format.java.io.IOExceptionpublic 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