com.nostra13.universalimageloader.core.download
Interface ImageDownloader
- All Known Implementing Classes:
- BaseImageDownloader
public interface ImageDownloader
Provides retrieving of InputStream
of image by URI.
Implementations have to be thread-safe.
- Since:
- 1.4.0
- Author:
- Sergey Tarasevich (nostra13[at]gmail[dot]com)
getStream
InputStream getStream(String imageUri,
Object extra)
throws IOException
- Retrieves
InputStream
of image by URI.
- Parameters:
imageUri
- Image URIextra
- Auxiliary object which was passed to DisplayImageOptions.extraForDownloader(Object)
; can be null
- Returns:
InputStream
of image
- Throws:
IOException
- if some I/O error occurs during getting image stream
UnsupportedOperationException
- if image URI has unsupported scheme(protocol)
Copyright © 2011-2014. All Rights Reserved.