public static class ByteBufferRewinder.Factory extends java.lang.Object implements DataRewinder.Factory<java.nio.ByteBuffer>
ByteBufferRewinder
.Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
DataRewinder<java.nio.ByteBuffer> |
build(java.nio.ByteBuffer data)
Returns a new
DataRewinder wrapping the given data. |
java.lang.Class<java.nio.ByteBuffer> |
getDataClass()
Returns the class of data this factory can produce
DataRewinder s for. |
@NonNull public DataRewinder<java.nio.ByteBuffer> build(java.nio.ByteBuffer data)
DataRewinder.Factory
DataRewinder
wrapping the given data.build
in interface DataRewinder.Factory<java.nio.ByteBuffer>
@NonNull public java.lang.Class<java.nio.ByteBuffer> getDataClass()
DataRewinder.Factory
DataRewinder
s for.getDataClass
in interface DataRewinder.Factory<java.nio.ByteBuffer>