public class FilesFinder
extends java.lang.Object
implements org.eclipse.core.resources.IResourceVisitor
| Constructor and Description |
|---|
FilesFinder(java.lang.String[] pExtensions)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addExclude(org.eclipse.core.runtime.IPath pDistPath)
Add a path to exclude in the search.
|
java.util.ArrayList<org.eclipse.core.resources.IFile> |
getResults() |
boolean |
visit(org.eclipse.core.resources.IResource pResource) |
public FilesFinder(java.lang.String[] pExtensions)
pExtensions - the file extensions to matchpublic java.util.ArrayList<org.eclipse.core.resources.IFile> getResults()
public boolean visit(org.eclipse.core.resources.IResource pResource)
throws org.eclipse.core.runtime.CoreException
visit in interface org.eclipse.core.resources.IResourceVisitororg.eclipse.core.runtime.CoreExceptionpublic void addExclude(org.eclipse.core.runtime.IPath pDistPath)
pDistPath - the path to exclude