Interface IOSupplier<T>

Type Parameters:
T - the supplied type
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 interface IOSupplier<T>
Supplier that can safely throw IO exceptions.
Since:
2.3.0
Author:
Phillip Webb
  • Method Summary

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

    • get

      T get() throws IOException
      Gets the supplied value.
      Returns:
      the supplied value
      Throws:
      IOException - on IO error