Returns the relative sort ordering of the paths for this file and the file another. The ordering is platform dependent. @param another a file to compare this file to @return an int determined by comparing the two paths. Possible values are described in the Comparable inte
(File another)
| 361 | * @see Comparable |
| 362 | */ |
| 363 | public int compareTo(File another) { |
| 364 | if (caseSensitive) { |
| 365 | return this.getPath().compareTo(another.getPath()); |
| 366 | } |
| 367 | return this.getPath().compareToIgnoreCase(another.getPath()); |
| 368 | } |
| 369 | |
| 370 | /** |
| 371 | * Deletes this file. Directories must be empty before they will be deleted. |
nothing calls this directly
no test coverage detected