Interface ResourceList.ByteArrayConsumer

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.ByteArrayConsumer
A FunctionalInterface for consuming the contents of a Resource as a byte array.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(Resource resource, byte[] byteArray)
    Consume the complete content of a Resource as a byte array.
  • Method Details

    • accept

      void accept(Resource resource, byte[] byteArray)
      Consume the complete content of a Resource as a byte array.
      Parameters:
      resource - The Resource used to load the byte array.
      byteArray - The complete content of the resource.