|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bumptech.glide.load.resource.bitmap.StreamBitmapDataLoadProvider
public class StreamBitmapDataLoadProvider
An DataLoadProvider that provides decoders and encoders for decoding and caching
Bitmaps using InputStream data.
| Constructor Summary | |
|---|---|
StreamBitmapDataLoadProvider(BitmapPool bitmapPool,
DecodeFormat decodeFormat)
|
|
| Method Summary | |
|---|---|
ResourceDecoder<File,Bitmap> |
getCacheDecoder()
Returns the ResourceDecoder to use to decode the resource from the disk cache. |
ResourceEncoder<Bitmap> |
getEncoder()
Returns the ResourceEncoder to use to write the decoded and transformed resource
to the disk cache. |
ResourceDecoder<InputStream,Bitmap> |
getSourceDecoder()
Returns the ResourceDecoder to use to decode the resource from the original data. |
Encoder<InputStream> |
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 StreamBitmapDataLoadProvider(BitmapPool bitmapPool,
DecodeFormat decodeFormat)
| Method Detail |
|---|
public ResourceDecoder<File,Bitmap> getCacheDecoder()
DataLoadProviderResourceDecoder to use to decode the resource from the disk cache.
getCacheDecoder in interface DataLoadProvider<InputStream,Bitmap>public ResourceDecoder<InputStream,Bitmap> getSourceDecoder()
DataLoadProviderResourceDecoder to use to decode the resource from the original data.
getSourceDecoder in interface DataLoadProvider<InputStream,Bitmap>public Encoder<InputStream> getSourceEncoder()
DataLoadProviderEncoder to use to write the original data to the disk cache.
getSourceEncoder in interface DataLoadProvider<InputStream,Bitmap>public ResourceEncoder<Bitmap> getEncoder()
DataLoadProviderResourceEncoder to use to write the decoded and transformed resource
to the disk cache.
getEncoder in interface DataLoadProvider<InputStream,Bitmap>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||