Interface LazyInputStreamResource.IOThrowingSupplier<T>
- Type Parameters:
T
- the type of the value that will be returned by this supplier
- Enclosing class:
- LazyInputStreamResource
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An alternative to
Supplier
that allows throwing an IOException
.-
Method Summary
-
Method Details
-
get
Gets the result.- Returns:
- a result
- Throws:
IOException
- if there was an IO-related error when getting the result
-