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 java.lang.Object
Constructor and Description |
---|
DecodePath(java.lang.Class<DataType> dataClass,
java.lang.Class<ResourceType> resourceClass,
java.lang.Class<Transcode> transcodeClass,
java.util.List<? extends ResourceDecoder<DataType,ResourceType>> decoders,
ResourceTranscoder<ResourceType,Transcode> transcoder,
android.support.v4.util.Pools.Pool<java.util.List<java.lang.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) |
java.lang.String |
toString() |
public DecodePath(java.lang.Class<DataType> dataClass, java.lang.Class<ResourceType> resourceClass, java.lang.Class<Transcode> transcodeClass, java.util.List<? extends ResourceDecoder<DataType,ResourceType>> decoders, ResourceTranscoder<ResourceType,Transcode> transcoder, android.support.v4.util.Pools.Pool<java.util.List<java.lang.Throwable>> listPool)
public Resource<Transcode> decode(DataRewinder<DataType> rewinder, int width, int height, @NonNull Options options, com.bumptech.glide.load.engine.DecodePath.DecodeCallback<ResourceType> callback) throws GlideException
GlideException
public java.lang.String toString()
toString
in class java.lang.Object