Class ResourceIterator

java.lang.Object
org.apache.sling.distribution.queue.impl.resource.ResourceIterator
All Implemented Interfaces:
Iterator<org.apache.sling.api.resource.Resource>

public class ResourceIterator extends Object implements Iterator<org.apache.sling.api.resource.Resource>
  • Constructor Details

    • ResourceIterator

      public ResourceIterator(org.apache.sling.api.resource.Resource root, String folderResourceType, boolean includeFolders, boolean includeLeafs)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<org.apache.sling.api.resource.Resource>
    • next

      public org.apache.sling.api.resource.Resource next()
      Specified by:
      next in interface Iterator<org.apache.sling.api.resource.Resource>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<org.apache.sling.api.resource.Resource>