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