Interface ResourceCollection

    • Method Detail

      • size

        int size()
        Learn the number of contained Resources.
        Returns:
        number of elements as int.
      • isFilesystemOnly

        boolean isFilesystemOnly()
        Indicate whether this ResourceCollection is composed entirely of Resources accessible via local filesystem conventions. If true, all resources returned from this collection should respond with a FileProvider when asked via Resource.as(java.lang.Class<T>).
        Returns:
        whether this is a filesystem-only resource collection.
      • isEmpty

        default boolean isEmpty()
        Learn whether this ResourceCollection is empty.
        Returns:
        boolean