com.nostra13.universalimageloader.core.download
Class SlowNetworkImageDownloader
java.lang.Object
com.nostra13.universalimageloader.core.download.SlowNetworkImageDownloader
- All Implemented Interfaces:
- ImageDownloader
public class SlowNetworkImageDownloader
- extends Object
- implements ImageDownloader
Decorator. Handles this problem on slow networks
using FlushedInputStream
.
- Since:
- 1.8.1
- Author:
- Sergey Tarasevich (nostra13[at]gmail[dot]com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SlowNetworkImageDownloader
public SlowNetworkImageDownloader(ImageDownloader wrappedDownloader)
getStream
public InputStream getStream(String imageUri,
Object extra)
throws IOException
- Description copied from interface:
ImageDownloader
- Retrieves
InputStream
of image by URI.
- Specified by:
getStream
in interface ImageDownloader
- 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
Copyright © 2011-2013. All Rights Reserved.