A
- The type of model.T
- The type of data that will be decoded from.Z
- The type of resource that will be decoded.R
- The type of resource that the decoded resource will be transcoded to.public interface LoadProvider<A,T,Z,R> extends DataLoadProvider<T,Z>
DataLoadProvider
that also allows a
ModelLoader
and a
ResourceTranscoder
to be retrieved.Modifier and Type | Method and Description |
---|---|
ModelLoader<A,T> |
getModelLoader()
Returns the
ModelLoader to convert from the given model to a data type. |
ResourceTranscoder<Z,R> |
getTranscoder()
Returns the
ResourceTranscoder to convert from the decoded
and transformed resource into the transcoded resource. |
getCacheDecoder, getEncoder, getSourceDecoder, getSourceEncoder
ModelLoader<A,T> getModelLoader()
ModelLoader
to convert from the given model to a data type.ResourceTranscoder<Z,R> getTranscoder()
ResourceTranscoder
to convert from the decoded
and transformed resource into the transcoded resource.