Package com.bumptech.glide.load.engine
Class DecodePath<DataType,ResourceType,Transcode>
- java.lang.Object
-
- com.bumptech.glide.load.engine.DecodePath<DataType,ResourceType,Transcode>
-
- Type Parameters:
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.ObjectAttempts to decode and transcode resource type from a given data type.
-
-
Constructor Summary
Constructors Constructor 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, androidx.core.util.Pools.Pool<java.util.List<java.lang.Throwable>> listPool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resource<Transcode>decode(DataRewinder<DataType> rewinder, int width, int height, Options options, com.bumptech.glide.load.engine.DecodePath.DecodeCallback<ResourceType> callback)java.lang.StringtoString()
-
-
-
Constructor Detail
-
DecodePath
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, androidx.core.util.Pools.Pool<java.util.List<java.lang.Throwable>> listPool)
-
-
Method Detail
-
decode
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
- Throws:
GlideException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-