question: protected boolean excludeFile ( String file ) { if ( excluded == null ) return false ; Iterator < String > iter = excluded . iterator ( ) ; while ( iter . hasNext ( ) ) if ( file . endsWith ( iter . next ( ) ) ) return true ; return false ; }
target:  Check if a file is excluded or not