Interface ModuleDetector.FileSystem

  • Enclosing class:
    ModuleDetector

    public static interface ModuleDetector.FileSystem
    Facade for file system operations. May be replaced by stubs in test cases.
    • Method Detail

      • find

        String[] find​(Path root,
                      String pattern)
        Returns all file names that match the specified pattern.
        Parameters:
        root - root directory to start the search from
        pattern - the Ant pattern to search for
        Returns:
        the found file names