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
DataRewinders for. |
@NonNull public DataRewinder<java.nio.ByteBuffer> build(java.nio.ByteBuffer data)
DataRewinder.FactoryDataRewinder wrapping the given data.build in interface DataRewinder.Factory<java.nio.ByteBuffer>@NonNull public java.lang.Class<java.nio.ByteBuffer> getDataClass()
DataRewinder.FactoryDataRewinders for.getDataClass in interface DataRewinder.Factory<java.nio.ByteBuffer>