public interface ImageDownloader
InputStream
of image by URI.Modifier and Type | Interface and Description |
---|---|
static class |
ImageDownloader.Scheme
Represents supported schemes(protocols) of URI.
|
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getStream(java.lang.String imageUri,
java.lang.Object extra)
Retrieves
InputStream of image by URI. |
java.io.InputStream getStream(java.lang.String imageUri, java.lang.Object extra) throws java.io.IOException
InputStream
of image by URI.imageUri
- Image URIextra
- Auxiliary object which was passed to DisplayImageOptions.extraForDownloader(Object)
; can be nullInputStream
of imagejava.io.IOException
- if some I/O error occurs during getting image streamjava.lang.UnsupportedOperationException
- if image URI has unsupported scheme(protocol)