org.gjt.sp.jedit.io
Class VFS.DirectoryEntryCompare
java.lang.Object
org.gjt.sp.jedit.io.VFS.DirectoryEntryCompare
- All Implemented Interfaces:
- Comparator, MiscUtilities.Compare
- Enclosing class:
- VFS
- public static class VFS.DirectoryEntryCompare
- extends Object
- implements MiscUtilities.Compare
Implementation of MiscUtilities.Compare
interface that compares VFS.DirectoryEntry
instances.
- Since:
- jEdit 4.2pre1
Constructor Summary |
VFS.DirectoryEntryCompare(boolean sortMixFilesAndDirs,
boolean sortIgnoreCase)
Creates a new DirectoryEntryCompare . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VFS.DirectoryEntryCompare
public VFS.DirectoryEntryCompare(boolean sortMixFilesAndDirs,
boolean sortIgnoreCase)
- Creates a new
DirectoryEntryCompare
.
- Parameters:
sortMixFilesAndDirs
- If false, directories are
put at the top of the listing.sortIgnoreCase
- If false, upper case comes before
lower case.
compare
public int compare(Object obj1,
Object obj2)
- Specified by:
compare
in interface MiscUtilities.Compare