public boolean accepts ( String path ) { boolean result ; if ( includeFilePatterns != null ) { result = matches ( path , includeFilePatterns ) ; } else { result = true ; } if ( excludeFilePatterns != null ) { result = result && ! matches ( path , excludeFilePatterns ) ; } return result ; }
Determines if the given path matches the configured include and exclude patterns .