com.bumptech.glide.load.data
Class FileDescriptorLocalUriFetcher

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

public class FileDescriptorLocalUriFetcher
extends LocalUriFetcher<ParcelFileDescriptor>

Fetches an ParcelFileDescriptor for a local Uri.


Constructor Summary
FileDescriptorLocalUriFetcher(Context context, Uri uri)
           
 
Method Summary
protected  ParcelFileDescriptor 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

FileDescriptorLocalUriFetcher

public FileDescriptorLocalUriFetcher(Context context,
                                     Uri uri)
Method Detail

loadResource

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