Interface ResourceList.ByteBufferConsumerThrowsIOException

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.ByteBufferConsumerThrowsIOException
A FunctionalInterface for consuming the contents of a Resource as a ByteBuffer, throwing IOException to the caller if an IO exception occurs.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(Resource resource, ByteBuffer byteBuffer)
    Consume the complete content of a Resource as a byte array.