| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| private static void | depthFirstEagerDescend(File dir, FileFilter filter, boolean canonical, Collection<E> addToMe, Set<E> seenDirex)
|
| public static FileIterator | |
| public static FileIterator | Returns: FileIterator over all files and directories beneath root that match filter.file paths will be canonicalized if true canonical)
|
| public static void |
| DirectoryDescentUtils | back to summary |
|---|---|
| private DirectoryDescentUtils() | |
| addSubtree | back to summary |
|---|---|
| public static void addSubtree(File root, FileFilter filter, boolean canonical, Collection<E> addToMe) throws IOException | |
| depthFirstEagerDescend | back to summary |
|---|---|
| private static void depthFirstEagerDescend(File dir, FileFilter filter, boolean canonical, Collection<E> addToMe, Set<E> seenDirex) throws IOException | |
| depthFirstEagerDescent | back to summary |
|---|---|
public static FileIterator depthFirstEagerDescent(File root) throws IOException
| |
| depthFirstEagerDescent | back to summary |
|---|---|
public static FileIterator depthFirstEagerDescent(File root, FileFilter filter, boolean canonical) throws IOException
| |
| main | back to summary |
|---|---|
| public static void main(String[] argv) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements com. forces the release of any resources that might be associated with this object. |
| public boolean | |
| public Object | |
| public File | |
| public void |
| IteratorFileIterator | back to summary |
|---|---|
| pack-priv IteratorFileIterator(Iterator<E> ii) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements com. Doc from com. forces the release of any resources that might be associated with this object. | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() throws IOException Implements com. | |
| next | back to summary |
|---|---|
| public Object next() throws IOException Implements com. | |
| nextFile | back to summary |
|---|---|
| public File nextFile() throws IOException Implements com. | |
| remove | back to summary |
|---|---|
| public void remove() throws IOException Implements com. | |