T - The InputStream type.B - The builder type.protected abstract static class ProxyInputStream.AbstractBuilder<T,B extends AbstractStreamBuilder<T,B>> extends AbstractStreamBuilder<T,B>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractBuilder()
Constructs a builder of
T. |
| Modifier and Type | Method and Description |
|---|---|
IOIntConsumer |
getAfterRead()
Gets the
ProxyInputStream.afterRead(int) consumer. |
B |
setAfterRead(IOIntConsumer afterRead)
Sets the
ProxyInputStream.afterRead(int) behavior, null resets to a NOOP. |
getBufferSize, getBufferSizeDefault, getCharSequence, getCharset, getCharsetDefault, getFile, getInputStream, getOpenOptions, getOutputStream, getPath, getRandomAccessFile, getReader, getWriter, setBufferSize, setBufferSize, setBufferSizeChecker, setBufferSizeDefault, setBufferSizeMax, setCharset, setCharset, setCharsetDefault, setOpenOptionscheckOrigin, getOrigin, hasOrigin, newByteArrayOrigin, newCharSequenceOrigin, newFileOrigin, newFileOrigin, newInputStreamOrigin, newOutputStreamOrigin, newPathOrigin, newPathOrigin, newRandomAccessFileOrigin, newRandomAccessFileOrigin, newReaderOrigin, newURIOrigin, newWriterOrigin, setByteArray, setCharSequence, setFile, setFile, setInputStream, setOrigin, setOutputStream, setPath, setPath, setRandomAccessFile, setRandomAccessFile, setReader, setURI, setWriterasThisclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasSupplier, get, getUncheckedpublic IOIntConsumer getAfterRead()
ProxyInputStream.afterRead(int) consumer.ProxyInputStream.afterRead(int) consumer.public B setAfterRead(IOIntConsumer afterRead)
ProxyInputStream.afterRead(int) behavior, null resets to a NOOP.
Setting this value causes the afterRead method to delegate to the given consumer.
If a subclass overrides afterRead and does not call super.afterRead(int), then the given consumer is
not called.
This does not override a ProxyInputStream subclass' implementation of the ProxyInputStream.afterRead(int) method, it can
supplement it.
afterRead - the ProxyInputStream.afterRead(int) behavior.