com.jalios.io
Class FileDateComparator

java.lang.Object
  extended by com.jalios.io.FileDateComparator
All Implemented Interfaces:
Comparator<File>

public class FileDateComparator
extends Object
implements Comparator<File>

File Comparator using lastModified value of Files to sort.

Since:
jcms-5.7.0
Version:
$Revision: 31503 $
Author:
Jean-Philippe Encausse

Field Summary
static String REVISION
           
 
Constructor Summary
FileDateComparator()
           
 
Method Summary
 int compare(File f1, File 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

REVISION

public static final String REVISION
See Also:
Constant Field Values
Constructor Detail

FileDateComparator

public FileDateComparator()
Method Detail

compare

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


Copyright © 2001-2010 Jalios SA. All Rights Reserved.