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 FileNameComparator

    java.lang.Object
      org.meshcms.util.FileNameComparator

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

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

Sorts files by name (directories before files).

Author:
  Luciano Vernaschi
See Also:
  Serialized Form

Constructor Summary
`FileNameComparator()`

Method Summary
`int` | `compare(java.lang.Object o1, java.lang.Object o2)`
`boolean` | `isCaseSensitive()`
`void` | `setCaseSensitive(boolean caseSensitive)`

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

### FileNameComparator

    public FileNameComparator()

Method Detail

### compare

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

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

### isCaseSensitive

    public boolean isCaseSensitive()

### setCaseSensitive

    public void setCaseSensitive(boolean caseSensitive)

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