BambooFileVisitor
and a glob pattern instead@Deprecated public abstract class FileVisitor extends Object
Modifier | Constructor and Description |
---|---|
protected |
FileVisitor(File rootDirectory)
Deprecated.
Visit file in the root directory
|
Modifier and Type | Method and Description |
---|---|
abstract void |
visitFile(File file)
Deprecated.
Callback with the file being visted.
|
void |
visitFilesThatMatch(String filePattern)
Deprecated.
Visit all files that match the pattern.
|
protected FileVisitor(File rootDirectory)
rootDirectory
- public void visitFilesThatMatch(String filePattern) throws InterruptedException
The pattern is a comma separated list if sub-patterns. Each sub-pattern can be:
filePattern
- Comma separated list of patternsInterruptedException
- if the calling Thread
is interrupted.public abstract void visitFile(File file) throws InterruptedException
file
- The fileInterruptedException
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.