Class ByteBufferRewinder.Factory
java.lang.Object
com.bumptech.glide.load.resource.bytes.ByteBufferRewinder.Factory
- All Implemented Interfaces:
DataRewinder.Factory<ByteBuffer>
- Enclosing class:
- ByteBufferRewinder
public static class ByteBufferRewinder.Factory
extends Object
implements DataRewinder.Factory<ByteBuffer>
Factory for
ByteBufferRewinder.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(ByteBuffer data) Returns a newDataRewinderwrapping the given data.Returns the class of data this factory can produceDataRewinders for.
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
build
Description copied from interface:DataRewinder.FactoryReturns a newDataRewinderwrapping the given data.- Specified by:
buildin interfaceDataRewinder.Factory<ByteBuffer>
-
getDataClass
Description copied from interface:DataRewinder.FactoryReturns the class of data this factory can produceDataRewinders for.- Specified by:
getDataClassin interfaceDataRewinder.Factory<ByteBuffer>
-