Interface IOSupplier<T>
- Type Parameters:
T
- Type returned by the supplier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface similar to
Supplier
but allowing an
IOException
to be thrown.-
Method Summary
-
Method Details
-
get
Get a result from the supplier.- Returns:
- a result
- Throws:
IOException
- if an I/O error occurs
-