public static interface ModuleDetector.FileSystem
| Modifier and Type | Method and Description |
|---|---|
String[] |
find(Path root,
String pattern)
Returns all file names that match the specified pattern.
|
InputStream |
open(String fileName)
Creates an
InputStream from the specified filename. |
String[] find(Path root, String pattern)
root - root directory to start the search frompattern - the Ant pattern to search for@MustBeClosed InputStream open(String fileName) throws IOException, InvalidPathException
InputStream from the specified filename.fileName - the file nameIOException - if the stream could not be openedInvalidPathException - if the file name is invalidCopyright © 2018. All rights reserved.