T - the return type of the operations.@FunctionalInterface public interface IOSupplier<T>
Supplier but throws IOException.| Modifier and Type | Method and Description |
|---|---|
default Supplier<T> |
asSupplier()
|
T |
get()
Gets a result.
|
default Supplier<T> asSupplier()
T get() throws IOException
IOException - if an I/O error occurs.Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.