return RelativePath.parse(false, parentPath, path);
}
public PatternSet getPatternSet() {
PatternSet patterns = new PatternSet();
patterns.setCaseSensitive(isCaseSensitive());
patterns.include(getAllIncludes());
patterns.includeSpecs(getAllIncludeSpecs());
patterns.exclude(getAllExcludes());
patterns.excludeSpecs(getAllExcludeSpecs());
return patterns;
}