public interface ResourceCollection extends java.lang.Iterable<Resource>
| Modifier and Type | Method and Description |
|---|---|
default boolean |
isEmpty()
Learn whether this
ResourceCollection is empty. |
boolean |
isFilesystemOnly()
Indicate whether this ResourceCollection is composed entirely of
Resources accessible via local filesystem conventions.
|
int |
size()
Learn the number of contained Resources.
|
default java.util.stream.Stream<? extends Resource> |
stream()
Return a
Stream over this ResourceCollection. |
int size()
boolean isFilesystemOnly()
FileProvider when asked via
Resource.as(java.lang.Class<T>).default java.util.stream.Stream<? extends Resource> stream()
Stream over this ResourceCollection.Stream of Resourcedefault boolean isEmpty()
ResourceCollection is empty.