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
IOException
public static FileIterator depthFirstEagerDescent(File root, FileFilter filter, boolean canonical) throws IOException
canonical
- file paths will be canonicalized if trueIOException
public static void addSubtree(File root, FileFilter filter, boolean canonical, Collection addToMe) throws IOException
IOException
public static void main(String[] argv)