Class FilteredResources<T extends Resource>

  • All Implemented Interfaces:
    Resources<T>, java.lang.Iterable<T>

    public class FilteredResources<T extends Resource>
    extends AbstractResources<T>
    Implementation of of Resources that dynamically filters items based on a ResourceFilter.
    See Also:
    #include(Resources, ResourceIncludeFilter)
    • Method Detail

      • getSource

        public Folder getSource()
        Description copied from interface: Resources
        Returns the source of the resources. Items in this collection will be moved or copied relative to the source. For example, if this object contains the files '/a/b/c.txt' and '/d/e/f.txt' and the source is '/d' copy to '/x/ will result in '/x/b/c.txt' and 'x/e/f.txt'.
        Returns:
        the source for the resources
      • iterator

        public java.util.Iterator<T> iterator()