接口 IOSupplier<T>

类型参数:
T - the supplied type
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface IOSupplier<T>
Supplier that can safely throw IO exceptions.
从以下版本开始:
2.3.0
作者:
Phillip Webb
  • 方法概要

    修饰符和类型
    方法
    说明
    get()
    Gets the supplied value.
  • 方法详细资料

    • get

      T get() throws IOException
      Gets the supplied value.
      返回:
      the supplied value
      抛出:
      IOException - on IO error