com.hipipal.texteditor.common
Class ComparatorFilesAlpha

java.lang.Object
  extended by com.hipipal.texteditor.common.ComparatorFilesAlpha
All Implemented Interfaces:
java.util.Comparator<java.io.File>

public class ComparatorFilesAlpha
extends java.lang.Object
implements java.util.Comparator<java.io.File>

Compare files Alphabetically (w/ folders listed first)

Author:
x.gouchet

Constructor Summary
ComparatorFilesAlpha()
           
 
Method Summary
 int compare(java.io.File file1, java.io.File file2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ComparatorFilesAlpha

public ComparatorFilesAlpha()
Method Detail

compare

public int compare(java.io.File file1,
                   java.io.File file2)
Specified by:
compare in interface java.util.Comparator<java.io.File>
See Also:
Comparator.compare(Object, Object)