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