protected boolean checkToSkipDirectory(String name){
  if (dirSuffixAvoids != null) {
    for (int i=0; i < dirSuffixAvoids.length; i++) {
      if (name.endsWith(dirSuffixAvoids[i])) {
        return true;
      }
    }
  }
  if (dirSuffixLimits != null) {
    for (int i=0; i < dirSuffixLimits.length; i++) {
      if (name.endsWith(dirSuffixLimits[i])) {
        return false;
      }
    }
    return true;
  }
  return false;
}

protected boolean checkToSkipDirectory ( String name ) { if ( dirSuffixAvoids != null ) { for ( int i = 0 ; i < dirSuffixAvoids . length ; i ++ ) { if ( name . endsWith ( dirSuffixAvoids [ i ] ) ) { return true ; } } } if ( dirSuffixLimits != null ) { for ( int i = 0 ; i < dirSuffixLimits . length ; i ++ ) { if ( name . endsWith ( dirSuffixLimits [ i ] ) ) { return false ; } } return true ; } return false ; }
check to see if a source directory name should be skipped , based on the avoid and limit list .
