Interface ResourceList.InputStreamConsumer

  • Enclosing class:
    ResourceList
    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 ResourceList.InputStreamConsumer
    A FunctionalInterface for consuming the contents of a Resource as an InputStream.
    • Method Detail

      • accept

        void accept​(Resource resource,
                    java.io.InputStream inputStream)
        Consume a Resource as an InputStream.
        Parameters:
        resource - The Resource used to open the InputStream.
        inputStream - The InputStream opened on the resource.