kactoos-jvm / nnl.rocks.kactoos.io / InputWithFallback
class InputWithFallback : Input
Input that returns an alternative input if the main one throws IOException.
There is no thread-safety guarantee.
Since 0.9
| Name | Summary |
|---|---|
| <init> | InputWithFallback(input: Input, alt: Input)InputWithFallback(input: Input)InputWithFallback(input: Input, alt: Func<IOException, Input>)InputWithFallback(main: Input, alternative: IoCheckedFunc<IOException, Input>)Input that returns an alternative input if the main one throws IOException. |
| Name | Summary |
|---|---|
| stream | fun stream(): InputStreamGet read access to it. |