@Test public void extensionMappingWithDotPathSeparator() { pathMatcher.setPathSeparator("."); assertEquals("Extension mapping should be disabled with \".\" as path separator", "/*.html.hotel.*", pathMatcher.combine("/*.html", "hotel.*")); }
@SuppressWarnings("unchecked") public AntPathFileMatcher(List<String> includes, List<String> excludes) { matcher.setPathSeparator(separator); this.includes = (includes == null) ? Collections.EMPTY_LIST : includes; this.excludes = (excludes == null) ? Collections.EMPTY_LIST : excludes; }
@Test public void uniqueDeliminator() { pathMatcher.setPathSeparator(".");
private static AntPathMatcher pathMatcher() { AntPathMatcher result = new AntPathMatcher(); result.setPathSeparator(PATH_SEPARATOR); return result; }
pathMatcher.setPathSeparator(File.separator); List<File> explicitIncludes = new ArrayList<File>(); List<String> includePatterns = new ArrayList<String>();