TrueZIP File* 7.0-rc1

de.schlichtherle.truezip.file.swing
Class TFileTree.FileComparator

java.lang.Object
  extended by de.schlichtherle.truezip.file.swing.TFileTree.FileComparator
All Implemented Interfaces:
Serializable, Comparator<TFile>
Enclosing class:
TFileTree

private static final class TFileTree.FileComparator
extends Object
implements Comparator<TFile>, Serializable

Compares two files by their status and path name, so that directories are always ordered before other files.


Field Summary
private static long serialVersionUID
           
 
Constructor Summary
private TFileTree.FileComparator()
           
 
Method Summary
 int compare(TFile f1, TFile f2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

TFileTree.FileComparator

private TFileTree.FileComparator()
Method Detail

compare

public int compare(TFile f1,
                   TFile f2)
Specified by:
compare in interface Comparator<TFile>

TrueZIP File* 7.0-rc1

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.