Package org.nuxeo.common.utils
Class FileTreeIterator
- java.lang.Object
-
- org.nuxeo.common.utils.FileTreeIterator
-
public class FileTreeIterator extends Object implements Iterator<File>
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Constructor Description FileTreeIterator(File root)
FileTreeIterator(File root, boolean excludeRoot)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FileFilter
getFilter()
boolean
hasNext()
static void
main(String[] args)
File
next()
void
remove()
void
setFilter(FileFilter filter)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
FileTreeIterator
public FileTreeIterator(File root)
-
FileTreeIterator
public FileTreeIterator(File root, boolean excludeRoot)
-
-
Method Detail
-
setFilter
public void setFilter(FileFilter filter)
-
getFilter
public FileFilter getFilter()
-
-