|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bumptech.glide.provider.EmptyDataLoadProvider<T,Z>
T
- unused data type.Z
- unused resource type.public class EmptyDataLoadProvider<T,Z>
A DataLoadProvider
that returns null
for every class.
Constructor Summary | |
---|---|
EmptyDataLoadProvider()
|
Method Summary | ||
---|---|---|
static
|
get()
|
|
ResourceDecoder<File,Z> |
getCacheDecoder()
Returns the ResourceDecoder to use to decode the resource from the disk cache. |
|
ResourceEncoder<Z> |
getEncoder()
Returns the ResourceEncoder to use to write the decoded and transformed resource
to the disk cache. |
|
ResourceDecoder<T,Z> |
getSourceDecoder()
Returns the ResourceDecoder to use to decode the resource from the original data. |
|
Encoder<T> |
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 EmptyDataLoadProvider()
Method Detail |
---|
public static <T,Z> DataLoadProvider<T,Z> get()
public ResourceDecoder<File,Z> getCacheDecoder()
DataLoadProvider
ResourceDecoder
to use to decode the resource from the disk cache.
getCacheDecoder
in interface DataLoadProvider<T,Z>
public ResourceDecoder<T,Z> getSourceDecoder()
DataLoadProvider
ResourceDecoder
to use to decode the resource from the original data.
getSourceDecoder
in interface DataLoadProvider<T,Z>
public Encoder<T> getSourceEncoder()
DataLoadProvider
Encoder
to use to write the original data to the disk cache.
getSourceEncoder
in interface DataLoadProvider<T,Z>
public ResourceEncoder<Z> getEncoder()
DataLoadProvider
ResourceEncoder
to use to write the decoded and transformed resource
to the disk cache.
getEncoder
in interface DataLoadProvider<T,Z>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |