| java.lang.Object | |
| ↳ | org.ops4j.pax.exam.spi.war.FileFinder |
Finds files matching a given filter in a given directory tree.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Finds a file with the given name in the given root directory or any subdirectory.
| |||||||||||
Finds a file matching the given file name filter in the given root directory or any
subdirectory.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Finds a file with the given name in the given root directory or any subdirectory. The files and directories are scanned in alphabetical order, so the result is deterministic.
The method returns the first matching result, if any, and ignores all other matches.
| rootDir | root directory |
|---|---|
| fileName | exact file name, without any wildcards |
Finds a file matching the given file name filter in the given root directory or any subdirectory. The files and directories are scanned in alphabetical order, so the result is deterministic.
The method returns the first matching result, if any, and ignores all other matches.
| rootDir | root directory |
|---|---|
| filter | file name filter |