com.jclark.xsl.util
Class TextComparator

java.lang.Object
  |
  +--com.jclark.xsl.util.TextComparator
All Implemented Interfaces:
Comparator

public class TextComparator
extends java.lang.Object
implements Comparator


Field Summary
static int LOWER_FIRST
           
static int UPPER_FIRST
           
 
Method Summary
 int compare(java.lang.Object obj1, java.lang.Object obj2)
           
static Comparator create(java.util.Locale locale, int caseOrder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UPPER_FIRST

public static final int UPPER_FIRST

LOWER_FIRST

public static final int LOWER_FIRST
Method Detail

create

public static Comparator create(java.util.Locale locale,
                                int caseOrder)

compare

public int compare(java.lang.Object obj1,
                   java.lang.Object obj2)
Specified by:
compare in interface Comparator