T
- the return type of the operations.@FunctionalInterface
public interface IOSupplier<T>
Supplier
but throws IOException
.Modifier and Type | Method and Description |
---|---|
default java.util.function.Supplier<T> |
asSupplier()
Creates a
Supplier for this instance that throws UncheckedIOException instead of IOException . |
T |
get()
Gets a result.
|
default java.util.function.Supplier<T> asSupplier()
Supplier
for this instance that throws UncheckedIOException
instead of IOException
.T get() throws java.io.IOException
java.io.IOException
- if an I/O error occurs.Copyright © 2010 - 2023 Adobe. All Rights Reserved