-
public class DecodePath<DataType, ResourceType, Transcode>Attempts to decode and transcode resource type from a given data type.
-
-
Constructor Summary
Constructors Constructor Description DecodePath(Class<DataType> dataClass, Class<ResourceType> resourceClass, Class<Transcode> transcodeClass, List<out ResourceDecoder<DataType, ResourceType>> decoders, ResourceTranscoder<ResourceType, Transcode> transcoder, Pools.Pool<List<Throwable>> listPool)
-
Method Summary
Modifier and Type Method Description Resource<Transcode>decode(DataRewinder<DataType> rewinder, int width, int height, @NonNull() Options options, DecodePath.DecodeCallback<ResourceType> callback)StringtoString()-
-
Constructor Detail
-
DecodePath
DecodePath(Class<DataType> dataClass, Class<ResourceType> resourceClass, Class<Transcode> transcodeClass, List<out ResourceDecoder<DataType, ResourceType>> decoders, ResourceTranscoder<ResourceType, Transcode> transcoder, Pools.Pool<List<Throwable>> listPool)
-
-
Method Detail
-
decode
Resource<Transcode> decode(DataRewinder<DataType> rewinder, int width, int height, @NonNull() Options options, DecodePath.DecodeCallback<ResourceType> callback)
-
-
-
-