|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.bamboo.utils.FileVisitor
public abstract class FileVisitor
This class uses patterns to identify determine which files should be visited.
Constructor Summary | |
---|---|
protected |
FileVisitor(File rootDirectory)
Visit file in the root directory |
Method Summary | |
---|---|
abstract void |
visitFile(File file)
Callback with the file being visted. |
void |
visitFilesThatMatch(String filePattern)
Visit all files that match the pattern. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected FileVisitor(File rootDirectory)
rootDirectory
- Method Detail |
---|
public void visitFilesThatMatch(String filePattern) throws InterruptedException
filePattern
- Comma separated list of patterns
InterruptedException
- if the calling Thread
is interrupted.public abstract void visitFile(File file) throws InterruptedException
file
- The file
InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |