wt.part
Class DocumentNameComparator
java.lang.Object
wt.part.DocumentNameComparator
- All Implemented Interfaces:
- Comparator
- public class DocumentNameComparator
- extends Object
- implements Comparator
This Comparator can be used to compare the Name attribute of WTDocument
s and/or WTDocumentMaster
s,
using a Locale-specific instance of a Collator.
Supported API: true
Extendable: false
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
locale
private Locale locale
DocumentNameComparator
public DocumentNameComparator(Locale locale)
compare
public int compare(Object o1,
Object o2)
- Specified by:
compare
in interface Comparator
getString
private String getString(Object obj)