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.
Attempts to decode and transcode resource type from a given data type.
-
Constructor Summary
ConstructorsConstructorDescriptionDecodePath(Class<DataType> dataClass, Class<ResourceType> resourceClass, Class<Transcode> transcodeClass, List<? extends ResourceDecoder<DataType, ResourceType>> decoders, ResourceTranscoder<ResourceType, Transcode> transcoder, androidx.core.util.Pools.Pool<List<Throwable>> listPool) -
Method Summary
Modifier and TypeMethodDescriptiondecode(DataRewinder<DataType> rewinder, int width, int height, Options options, com.bumptech.glide.load.engine.DecodePath.DecodeCallback<ResourceType> callback) toString()
-
Constructor Details
-
DecodePath
public DecodePath(Class<DataType> dataClass, Class<ResourceType> resourceClass, Class<Transcode> transcodeClass, List<? extends ResourceDecoder<DataType, ResourceType>> decoders, ResourceTranscoder<ResourceType, Transcode> transcoder, androidx.core.util.Pools.Pool<List<Throwable>> listPool)
-
-
Method Details
-
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
-