Modifier and Type | Method and Description |
---|---|
CapturingOutputStream.Config.Builder |
CapturingOutputStream.Config.Builder.onDone(Consumer<? super CapturingOutputStream> callback)
Sets a callback that will be triggered when reading from built capturing output streams is done.
|
CapturingOutputStream.Config.Builder |
CapturingOutputStream.Config.Builder.onError(BiConsumer<? super CapturingOutputStream,? super IOException> callback)
Sets a callback that will be triggered when an
IOException occurs while using built capturing output streams. |
CapturingOutputStream.Config.Builder |
CapturingOutputStream.Config.Builder.onLimitReached(Consumer<? super CapturingOutputStream> callback)
Sets a callback that will be triggered when built capturing output streams hit their limit.
|
Copyright © 2020–2024. All rights reserved.