dependency-check-core/src/main/java/org/owasp/dependencycheck/Engine.java
/**
     * Checks all analyzers to see if an extension is supported.
     *
     * @param file a file extension
     * @return true or false depending on whether or not the file extension is
     * supported
     */
Checks all analyzers to see if an extension is supported.
@param file a file extension
@return true or false depending on whether or not the file extension is
supported
Checks all analyzers to see if an extension is supported . @param file a file extension @return true or false depending on whether or not the file extension is supported
@Override
    public boolean accept(File file) {
        if (file == null) {
            return false;
        }
        boolean scan = false;
        for (FileTypeAnalyzer a : this.fileTypeAnalyzers) {
            /* note, we can't break early on this loop as the analyzers need to know if
             they have files to work on prior to initialization */
            scan |= a.accept(file);
        }
        return scan;
    }
@ Override public boolean accept ( File file ) { if ( file == null ) { return false ; } boolean scan = false ; for ( FileTypeAnalyzer a : this . fileTypeAnalyzers ) { /* note, we can't break early on this loop as the analyzers need to know if
             they have files to work on prior to initialization */ scan |= a . accept ( file ) ; } return scan ; }
Checks all analyzers to see if an extension is supported.
Checks all analyzers to see if an extension is supported .