Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.meshcms.util
Class FileDateComparator

    java.lang.Object
      org.meshcms.util.FileDateComparator

All Implemented Interfaces:
  java.util.Comparator, java.io.Serializable

public final class FileDateComparator
extends java.lang.Object
implements java.util.Comparator, java.io.Serializable

Sorts files by date (newest files first).

Author:
  Luciano Vernaschi
See Also:
  Serialized Form

Constructor Summary
`FileDateComparator()`
`FileDateComparator(boolean forwards)`

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

### FileDateComparator

    public FileDateComparator()

### FileDateComparator

    public FileDateComparator(boolean forwards)

Method Detail

### compare

    public int compare(java.lang.Object o1,
                       java.lang.Object o2)

  Specified by:
    `compare` in interface `java.util.Comparator`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD