public class FileTree
extends java.lang.Object
implements java.lang.Iterable<java.io.File>
Modifier and Type | Field and Description |
---|---|
static int |
DIRECTORIES_ONLY |
static int |
FILES_AND_DIRECTORIES |
static int |
FILES_ONLY |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.io.File> |
asList() |
java.util.List<java.io.File> |
asList(java.io.FileFilter fileFilter) |
int |
getMode() |
java.io.File |
getRoot() |
java.util.Iterator<java.io.File> |
iterator() |
java.util.Iterator<java.io.File> |
iterator(java.io.FileFilter fileFilter) |
void |
setMode(int mode) |
void |
setRoot(java.io.File root) |
public static final int DIRECTORIES_ONLY
public static final int FILES_AND_DIRECTORIES
public static final int FILES_ONLY
public java.util.List<java.io.File> asList()
public java.util.List<java.io.File> asList(java.io.FileFilter fileFilter)
public int getMode()
public java.io.File getRoot()
public java.util.Iterator<java.io.File> iterator()
iterator
in interface java.lang.Iterable<java.io.File>
public java.util.Iterator<java.io.File> iterator(java.io.FileFilter fileFilter)
public void setMode(int mode)
public void setRoot(java.io.File root)