@Test public void testCreateFilter() throws Exception { FileFilter filter = createFilter("", RegexFileFilter.class.getCanonicalName()); assertTrue(filter.accept(new File("build.gradle"))); assertNotEquals(RegexFileFilter.class, filter.getClass()); filter = createFilter(".*", RegexFileFilter.class.getCanonicalName()); assertEquals(RegexFileFilter.class, filter.getClass()); assertTrue(filter.accept(new File("build.gradle"))); assertEquals(AwkFilenameFilter.class, createFilter(".*", AwkFilenameFilter.class.getCanonicalName()).getClass()); }
public static FileFilter createFilter(String filterExpression, String filterImpl) throws Exception { return logWarningIfRequired(FileFilterBuilder.build(filterExpression, filterImpl)); }
FsHelper { public static FileFilter createFilter(String filterExpression, String filterImpl) throws Exception { return logWarningIfRequired(FileFilterBuilder.build(filterExpression, filterImpl)); } }
FsHelper { public static FileFilter createFilter(String filterExpression, String filterImpl) throws Exception { return logWarningIfRequired(FileFilterBuilder.build(filterExpression, filterImpl)); }  }
FsHelper { public static FileFilter createFilter(String filterExpression, String filterImpl) throws Exception { return logWarningIfRequired(FileFilterBuilder.build(filterExpression, filterImpl)); }  static File toFile(String s); static File createFileReference(URL url); static File createFileReference(URL url, String charset); @Deprecated static URL createUrlFromString(String s); static URL createUrlFromString(String s, boolean backslashConvert); static FileFilter createFilter(String filterExpression, String filterImpl); static FileFilter logWarningIfRequired(FileFilter f); static File renameFile(File file, String suffix, FsWorker worker); }
FsHelper { public static FileFilter createFilter(String filterExpression, String filterImpl) throws Exception { return logWarningIfRequired(FileFilterBuilder.build(filterExpression, filterImpl)); }  static File toFile(String s); static File createFileReference(URL url); static File createFileReference(URL url, String charset); @Deprecated static URL createUrlFromString(String s); static URL createUrlFromString(String s, boolean backslashConvert); static FileFilter createFilter(String filterExpression, String filterImpl); static FileFilter logWarningIfRequired(FileFilter f); static File renameFile(File file, String suffix, FsWorker worker);  }