org.jvnet.hudson.plugins.backup.utils
Class LastModifiedFileComparator

java.lang.Object
  extended by org.jvnet.hudson.plugins.backup.utils.LastModifiedFileComparator
All Implemented Interfaces:
java.util.Comparator

public class LastModifiedFileComparator
extends java.lang.Object
implements java.util.Comparator

Compare two File by their modification date. The most recent is prior.


Constructor Summary
LastModifiedFileComparator()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
           
 
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
 

Constructor Detail

LastModifiedFileComparator

public LastModifiedFileComparator()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator


Copyright © 2011. All Rights Reserved.