public int compare(File file1,File file2){
  return caseSensitivity.checkCompareTo(file1.getName(),file2.getName());
}

public int compare ( File file1 , File file2 ) { return caseSensitivity . checkCompareTo ( file1 . getName ( ) , file2 . getName ( ) ) ; }
compare the names of two files with the specified case sensitivity .
