public class IosImageLoaderFactory extends Object implements ImageLoaderFactory
Modifier and Type | Method and Description |
---|---|
ImageLoader |
createImageLoader(InputStream input)
Creates a loader for the specified stream.
|
ImageLoader |
createImageLoader(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
|
public static final IosImageLoaderFactory 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
public ImageLoader createImageLoader(String input) throws IOException
input
- a URL containing an image in the supported format.
- if there is an error creating the loader.IOException
Copyright © 2020. All rights reserved.