Package com.bumptech.glide.load.engine
Class LoadPath<Data,ResourceType,Transcode>
- java.lang.Object
-
- com.bumptech.glide.load.engine.LoadPath<Data,ResourceType,Transcode>
-
- Type Parameters:
Data- The type of data that will be fetched.ResourceType- The type of intermediate resource that will be decoded within one of theDecodePaths.Transcode- The type of resource that will be returned as the result if the load and one of the decode paths succeeds.
public class LoadPath<Data,ResourceType,Transcode> extends java.lang.ObjectFor a givenDataFetcherfor a given data class, attempts to fetch the data and then run it through one or moreDecodePaths.
-
-
Constructor Summary
Constructors Constructor Description LoadPath(java.lang.Class<Data> dataClass, java.lang.Class<ResourceType> resourceClass, java.lang.Class<Transcode> transcodeClass, java.util.List<DecodePath<Data,ResourceType,Transcode>> decodePaths, 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 java.lang.Class<Data>getDataClass()Resource<Transcode>load(DataRewinder<Data> rewinder, Options options, int width, int height, com.bumptech.glide.load.engine.DecodePath.DecodeCallback<ResourceType> decodeCallback)java.lang.StringtoString()
-
-
-
Constructor Detail
-
LoadPath
public LoadPath(java.lang.Class<Data> dataClass, java.lang.Class<ResourceType> resourceClass, java.lang.Class<Transcode> transcodeClass, java.util.List<DecodePath<Data,ResourceType,Transcode>> decodePaths, androidx.core.util.Pools.Pool<java.util.List<java.lang.Throwable>> listPool)
-
-
Method Detail
-
load
public Resource<Transcode> load(DataRewinder<Data> rewinder, @NonNull Options options, int width, int height, com.bumptech.glide.load.engine.DecodePath.DecodeCallback<ResourceType> decodeCallback) throws GlideException
- Throws:
GlideException
-
getDataClass
public java.lang.Class<Data> getDataClass()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-