|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bumptech.glide.load.resource.bitmap.ImageVideoDataLoadProvider
public class ImageVideoDataLoadProvider
A DataLoadProvider
for loading either an InputStream
or an
ParcelFileDescriptor
as an Bitmap
.
Constructor Summary | |
---|---|
ImageVideoDataLoadProvider(DataLoadProvider<InputStream,android.graphics.Bitmap> streamBitmapProvider,
DataLoadProvider<android.os.ParcelFileDescriptor,android.graphics.Bitmap> fileDescriptorBitmapProvider)
|
Method Summary | |
---|---|
ResourceDecoder<File,android.graphics.Bitmap> |
getCacheDecoder()
Returns the ResourceDecoder to use to decode the resource from the disk cache. |
ResourceEncoder<android.graphics.Bitmap> |
getEncoder()
Returns the ResourceEncoder to use to write the decoded and transformed resource
to the disk cache. |
ResourceDecoder<ImageVideoWrapper,android.graphics.Bitmap> |
getSourceDecoder()
Returns the ResourceDecoder to use to decode the resource from the original data. |
Encoder<ImageVideoWrapper> |
getSourceEncoder()
Returns the Encoder to use to write the original data to the disk cache. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageVideoDataLoadProvider(DataLoadProvider<InputStream,android.graphics.Bitmap> streamBitmapProvider, DataLoadProvider<android.os.ParcelFileDescriptor,android.graphics.Bitmap> fileDescriptorBitmapProvider)
Method Detail |
---|
public ResourceDecoder<File,android.graphics.Bitmap> getCacheDecoder()
DataLoadProvider
ResourceDecoder
to use to decode the resource from the disk cache.
getCacheDecoder
in interface DataLoadProvider<ImageVideoWrapper,android.graphics.Bitmap>
public ResourceDecoder<ImageVideoWrapper,android.graphics.Bitmap> getSourceDecoder()
DataLoadProvider
ResourceDecoder
to use to decode the resource from the original data.
getSourceDecoder
in interface DataLoadProvider<ImageVideoWrapper,android.graphics.Bitmap>
public Encoder<ImageVideoWrapper> getSourceEncoder()
DataLoadProvider
Encoder
to use to write the original data to the disk cache.
getSourceEncoder
in interface DataLoadProvider<ImageVideoWrapper,android.graphics.Bitmap>
public ResourceEncoder<android.graphics.Bitmap> getEncoder()
DataLoadProvider
ResourceEncoder
to use to write the decoded and transformed resource
to the disk cache.
getEncoder
in interface DataLoadProvider<ImageVideoWrapper,android.graphics.Bitmap>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |