Package groovy.util

Interface IFileNameFinder


public interface IFileNameFinder
Locates file names matching Ant-style include and exclude patterns.
  • Method Details

    • getFileNames

      List<String> getFileNames(String basedir, String pattern)
      Finds file names under the supplied base directory.
      Parameters:
      basedir - the base directory to search
      pattern - the include pattern
      Returns:
      the matching file names
    • getFileNames

      List<String> getFileNames(String basedir, String pattern, String excludesPattern)
      Finds file names under the supplied base directory.
      Parameters:
      basedir - the base directory to search
      pattern - the include pattern
      excludesPattern - the exclude pattern
      Returns:
      the matching file names