|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.utils.FileVisitor
public abstract class FileVisitor
This class uses patterns to identify determine which files should be visited.
Constructor Summary | |
---|---|
protected |
FileVisitor(java.io.File rootDirectory)
Visit file in the root directory |
Method Summary | |
---|---|
abstract void |
visitFile(java.io.File file)
Callback with the file being visted. |
void |
visitFilesThatMatch(java.lang.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(java.io.File rootDirectory)
rootDirectory
- Method Detail |
---|
public void visitFilesThatMatch(java.lang.String filePattern) throws java.lang.InterruptedException
filePattern
- Comma separated list of patterns
java.lang.InterruptedException
- if the calling Thread
is interrupted.public abstract void visitFile(java.io.File file) throws java.lang.InterruptedException
file
- The file
java.lang.InterruptedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |