Interface IOSupplier<T>

    • Method Detail

      • asSupplier

        default java.util.function.Supplier<T> asSupplier()
        Creates a Supplier for this instance that throws UncheckedIOException instead of IOException.
        Returns:
        an UncheckedIOException Supplier.
        Since:
        2.12.0
      • get

        T get()
        throws java.io.IOException
        Gets a result.
        Returns:
        a result
        Throws:
        java.io.IOException - if an I/O error occurs.