Class ProjectDataUtils.DomainFileIterator

  • All Implemented Interfaces:
    java.util.Iterator<DomainFile>
    Enclosing class:
    ProjectDataUtils

    public static class ProjectDataUtils.DomainFileIterator
    extends java.lang.Object
    implements java.util.Iterator<DomainFile>
    A not-thread-safe DomainFile iterator that recursively walks a project's data and returns each DomainFile that is found.
    • Constructor Detail

      • DomainFileIterator

        public DomainFileIterator​(Project project)
        Recursively traverse a Project starting in its root folder.
        Parameters:
        project -
      • DomainFileIterator

        public DomainFileIterator​(DomainFolder startFolder)
        Recursively traverse the DomainFiles under a specific DomainFolder.
        Parameters:
        startFolder -
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<DomainFile>