wt.admin
Class ClassnameCollationKeyFactory
java.lang.Object
wt.util.CollationKeyFactory
wt.admin.ClassnameCollationKeyFactory
public final class ClassnameCollationKeyFactory
- extends CollationKeyFactory
A collation key factory for classes. Use this class to sort classnames.
Supported API: true
Extendable: false
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassnameCollationKeyFactory
public ClassnameCollationKeyFactory()
- Construct a collation key factory for the current
WTContext's locale.
Supported API: true
Extendable: false
ClassnameCollationKeyFactory
public ClassnameCollationKeyFactory(Locale locale)
- Construct a collation key factory for the given locale.
- Parameters:
locale - desired locale
Supported API: true
Extendable: false
getCollationString
public String getCollationString(Object obj)
- Get a collation string for the given object.
- Overrides:
getCollationString in class CollationKeyFactory
- Parameters:
obj - the object that will be part of the sorted results
Supported API: true
Extendable: false
- Returns:
- string collation key source string