Package com.bumptech.glide.load.data
Interface DataRewinder.Factory<T>
-
- Type Parameters:
T- The type of data that theDataRewinderwill wrap.
- All Known Implementing Classes:
ByteBufferRewinder.Factory,InputStreamRewinder.Factory,ParcelFileDescriptorRewinder.Factory
- Enclosing interface:
- DataRewinder<T>
public static interface DataRewinder.Factory<T>A factory interface for producing individualDataRewinders.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataRewinder<T>build(T data)Returns a newDataRewinderwrapping the given data.java.lang.Class<T>getDataClass()Returns the class of data this factory can produceDataRewinders for.
-
-
-
Method Detail
-
build
@NonNull DataRewinder<T> build(@NonNull T data)
Returns a newDataRewinderwrapping the given data.
-
getDataClass
@NonNull java.lang.Class<T> getDataClass()
Returns the class of data this factory can produceDataRewinders for.
-
-