jodd-core/src/main/java/jodd/io/findfile/FindFile.java
protected boolean acceptFile(final File file) {
		String matchingFilePath = getMatchingFilePath(file);

		if (rules.match(matchingFilePath)) {
			if (consumers != null) {
				consumers.accept(file);
			}
			return true;
		}
		return false;
	}
protected boolean acceptFile(final File file) {
		String matchingFilePath = getMatchingFilePath(file);

		if (rules.match(matchingFilePath)) {
			if (consumers != null) {
				consumers.accept(file);
			}
			return true;
		}
		return false;
	}
Determine if file is accepted, based on include and exclude
rules. Called on each file entry (file or directory) and
returns <code>true</code> if file passes search criteria.
File is matched using {@link #getMatchingFilePath(java.io.File) matching file path}.
@see InExRules