org.objectweb.util.ant
public class DirectoryScannerHelper extends Object
Method Summary | |
---|---|
static List | getSelectedDirectories(DirectoryScanner ds, Project project)
Extract selected directories from a matching task. |
static String[] | getSelectedDirectoriesAsString(DirectoryScanner ds, Project project)
Extract selected directories from a matching task. |
static List | getSelectedFiles(DirectoryScanner ds, Project project)
Extract selected files from a matching task. |
static String[] | getSelectedFilesAsString(DirectoryScanner ds, Project project)
Extract selected files from a matching task. |
Parameters: mt is the matching task root is the file descriptor of the root directory
Returns: a collection of String corresponding to selected directories
Parameters: mt is the matching task root is the file descriptor of the root directory
Returns: an array of String corresponding to selected directories
Parameters: mt is the matching task root is the file descriptor of the root directory
Returns: a collection of String corresponding to selected files
Parameters: mt is the matching task root is the file descriptor of the root directory
Returns: an array of String corresponding to selected files