com.bumptech.glide.load.data
Class StreamLocalUriFetcher

java.lang.Object
  extended by com.bumptech.glide.load.data.LocalUriFetcher<InputStream>
      extended by com.bumptech.glide.load.data.StreamLocalUriFetcher
All Implemented Interfaces:
DataFetcher<InputStream>

public class StreamLocalUriFetcher
extends LocalUriFetcher<InputStream>

Fetches an InputStream for a local Uri.


Constructor Summary
StreamLocalUriFetcher(Context context, Uri uri)
           
 
Method Summary
protected  InputStream loadResource(Uri uri, ContentResolver contentResolver)
           
 
Methods inherited from class com.bumptech.glide.load.data.LocalUriFetcher
cancel, cleanup, getId, loadData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamLocalUriFetcher

public StreamLocalUriFetcher(Context context,
                             Uri uri)
Method Detail

loadResource

protected InputStream loadResource(Uri uri,
                                   ContentResolver contentResolver)
                            throws FileNotFoundException
Specified by:
loadResource in class LocalUriFetcher<InputStream>
Throws:
FileNotFoundException