public abstract class ClasspathTraversal extends Object
For example, given the input paths of { foo.zip, foo/, and foo.txt }, traverse would first expand foo.zip and traverse its contents, then list the files recursively in foo/, and finally visit the single file foo.txt.
| Constructor and Description |
|---|
ClasspathTraversal(Collection<Path> paths,
ProjectFilesystem filesystem) |
| Modifier and Type | Method and Description |
|---|---|
void |
traverse() |
abstract void |
visit(FileLike fileLike) |
public ClasspathTraversal(Collection<Path> paths, ProjectFilesystem filesystem)
public abstract void visit(FileLike fileLike) throws IOException
IOExceptionpublic final void traverse()
throws IOException
IOException