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<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. |
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.