com.bumptech.glide.load.model.file_descriptor
Class FileDescriptorUriLoader
java.lang.Object
com.bumptech.glide.load.model.UriLoader<ParcelFileDescriptor>
com.bumptech.glide.load.model.file_descriptor.FileDescriptorUriLoader
- All Implemented Interfaces:
- FileDescriptorModelLoader<Uri>, ModelLoader<Uri,ParcelFileDescriptor>
public class FileDescriptorUriLoader
- extends UriLoader<ParcelFileDescriptor>
- implements FileDescriptorModelLoader<Uri>
A ModelLoader
For translating Uri
models for local uris into ParcelFileDescriptor
data.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileDescriptorUriLoader
public FileDescriptorUriLoader(Context context)
FileDescriptorUriLoader
public FileDescriptorUriLoader(Context context,
ModelLoader<GlideUrl,ParcelFileDescriptor> urlLoader)
getLocalUriFetcher
protected DataFetcher<ParcelFileDescriptor> getLocalUriFetcher(Context context,
Uri uri)
- Specified by:
getLocalUriFetcher
in class UriLoader<ParcelFileDescriptor>
getAssetPathFetcher
protected DataFetcher<ParcelFileDescriptor> getAssetPathFetcher(Context context,
String assetPath)
- Specified by:
getAssetPathFetcher
in class UriLoader<ParcelFileDescriptor>