public final class DirectoryDescentUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addSubtree(File root,
FileFilter filter,
boolean canonical,
Collection addToMe) |
static FileIterator |
depthFirstEagerDescent(File root) |
static FileIterator |
depthFirstEagerDescent(File root,
FileFilter filter,
boolean canonical) |
static void |
main(String[] argv) |
public static FileIterator depthFirstEagerDescent(File root) throws IOException
IOExceptionpublic static FileIterator depthFirstEagerDescent(File root, FileFilter filter, boolean canonical) throws IOException
canonical - file paths will be canonicalized if trueIOExceptionpublic static void addSubtree(File root, FileFilter filter, boolean canonical, Collection addToMe) throws IOException
IOExceptionpublic static void main(String[] argv)