public static final class InputStreamRewinder.Factory extends Object implements DataRewinder.Factory<InputStream>
InputStreamRewinder
s from InputStream
s.Modifier and Type | Method and Description |
---|---|
DataRewinder<InputStream> |
build(InputStream data)
Returns a new
DataRewinder wrapping the given data. |
Class<InputStream> |
getDataClass()
Returns the class of data this factory can produce
DataRewinder s for. |
public Factory(ArrayPool byteArrayPool)
@NonNull public DataRewinder<InputStream> build(InputStream data)
DataRewinder.Factory
DataRewinder
wrapping the given data.build
in interface DataRewinder.Factory<InputStream>
@NonNull public Class<InputStream> getDataClass()
DataRewinder.Factory
DataRewinder
s for.getDataClass
in interface DataRewinder.Factory<InputStream>