| Modifier and Type | Field and Description |
|---|---|
protected File |
directory |
protected File[] |
listing |
| Constructor and Description |
|---|
DirectoryLister() |
DirectoryLister(File directory) |
DirectoryLister(File directory,
FileFilter filter) |
DirectoryLister(String directory) |
DirectoryLister(String directory,
FileFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
changeDirectory(File dir) |
boolean |
changeDirectory(String dir) |
int |
count() |
protected void |
getListing() |
Iterator<File> |
iterator() |
void |
setFilter(FileFilter filter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic DirectoryLister()
public DirectoryLister(String directory) throws IOException
IOExceptionpublic DirectoryLister(String directory, FileFilter filter) throws IOException
IOExceptionpublic DirectoryLister(File directory) throws IOException
IOExceptionpublic DirectoryLister(File directory, FileFilter filter) throws IOException
IOExceptionpublic int count()
public boolean changeDirectory(String dir)
public boolean changeDirectory(File dir)
public void setFilter(FileFilter filter)
protected void getListing()
Copyright © 2016 The American National Corpus. All rights reserved.