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