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 |
---|---|
List<File> |
asList() |
List<File> |
asList(FileFilter fileFilter) |
int |
getMode() |
File |
getRoot() |
Iterator<File> |
iterator() |
Iterator<File> |
iterator(FileFilter fileFilter) |
void |
setMode(int mode) |
void |
setRoot(File root) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static final int DIRECTORIES_ONLY
public static final int FILES_AND_DIRECTORIES
public static final int FILES_ONLY
public FileTree()
public FileTree(File root)
public List<File> asList(FileFilter fileFilter)
public int getMode()
public File getRoot()
public Iterator<File> iterator(FileFilter fileFilter)
public void setMode(int mode)
public void setRoot(File root)