Modifier and Type | Method and Description |
---|---|
static <T> IOSupplier<T> |
IOSupplier.checked(Supplier<? extends T> supplier)
Returns a supplier that returns the result of the
supplier supplier, and unwraps any UncheckedIOException that is thrown by
throwing its cause . |
Modifier and Type | Method and Description |
---|---|
static <T> Supplier<T> |
IOSupplier.unchecked(IOSupplier<? extends T> supplier)
Returns a supplier that returns the result of the
supplier supplier, and wraps any IOException that is thrown in an
UncheckedIOException . |
Copyright © 2017–2020. All rights reserved.