DataType
- The type of data ResourceType that will be decoded from.ResourceType
- The type of intermediate resource that will be decoded.Transcode
- The final type of resource that will be transcoded from ResourceType and
returned to the caller.public class DecodePath<DataType,ResourceType,Transcode> extends Object
Constructor and Description |
---|
DecodePath(Class<DataType> dataClass,
Class<ResourceType> resourceClass,
Class<Transcode> transcodeClass,
List<? extends ResourceDecoder<DataType,ResourceType>> decoders,
ResourceTranscoder<ResourceType,Transcode> transcoder,
Pools.Pool<List<Throwable>> listPool) |
Modifier and Type | Method and Description |
---|---|
Resource<Transcode> |
decode(DataRewinder<DataType> rewinder,
int width,
int height,
Options options,
com.bumptech.glide.load.engine.DecodePath.DecodeCallback<ResourceType> callback) |
String |
toString() |
public DecodePath(Class<DataType> dataClass, Class<ResourceType> resourceClass, Class<Transcode> transcodeClass, List<? extends ResourceDecoder<DataType,ResourceType>> decoders, ResourceTranscoder<ResourceType,Transcode> transcoder, Pools.Pool<List<Throwable>> listPool)
public Resource<Transcode> decode(DataRewinder<DataType> rewinder, int width, int height, Options options, com.bumptech.glide.load.engine.DecodePath.DecodeCallback<ResourceType> callback) throws GlideException
GlideException