T - The type of data the resource will be decoded from.
Z - The type of resource that will be decoded.
public interface DataLoadProvider<T,Z>
| Modifier and Type | Method and Description |
|---|---|
ResourceDecoder |
getCacheDecoder()
Returns the
ResourceDecoder to use to decode the resource from the disk cache.
|
ResourceEncoder |
getEncoder()
Returns the
ResourceEncoder to use to write the decoded and transformed resource to the disk cache.
|
ResourceDecoder |
getSourceDecoder()
Returns the
ResourceDecoder to use to decode the resource from the original data.
|
Encoder |
getSourceEncoder()
Returns the
Encoder to use to write the original data to the disk cache.
|
ResourceDecoder<File ,Z> getCacheDecoder()
ResourceDecoder to use to decode the resource from the disk cache.
ResourceDecoder<T ,Z> getSourceDecoder()
ResourceDecoder to use to decode the resource from the original data.
Encoder<T> getSourceEncoder()
Encoder to use to write the original data to the disk cache.
ResourceEncoder<Z> getEncoder()
ResourceEncoder to use to write the decoded and transformed resource to the disk cache.