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.

@FunctionalInterface public static interface LazyInputStreamResource.IOThrowingSupplier<T>
An alternative to Supplier that allows throwing an IOException.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Gets the result.
  • Method Details

    • get

      T get() throws IOException
      Gets the result.
      Returns:
      a result
      Throws:
      IOException - if there was an IO-related error when getting the result