return matching(patternSet);
}
public FileTree matching(PatternFilterable patterns) {
PatternSet patternSet = new PatternSet();
patternSet.copyFrom(patterns);
return new FilteredFileTree(this, patternSet.getAsSpec());
}
public Map<String, File> getAsMap() {
final Map<String, File> map = new LinkedHashMap<String, File>();