Package edu.hm.hafner.analysis
Schnittstelle ModuleDetector.FileSystem
- Umschließende Klasse:
ModuleDetector
public static interface ModuleDetector.FileSystem
Facade for file system operations. May be replaced by stubs in test cases.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungString[]Returns all file names that match the specified pattern.Creates anInputStreamfrom the specified filename.
-
Methodendetails
-
find
Returns all file names that match the specified pattern.- Parameter:
root- root directory to start the search frompattern- the Ant pattern to search for- Gibt zurück:
- the found file names
-
open
Creates anInputStreamfrom the specified filename.- Parameter:
fileName- the file name- Gibt zurück:
- the input stream
- Löst aus:
IOException- if the stream could not be openedInvalidPathException- if the file name is invalid
-