|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.util.CollationKeyFactory
public class CollationKeyFactory
A factory for object collation keys.
Supported API: true
Extendable: true
| Constructor Summary | |
|---|---|
CollationKeyFactory()
Construct a collation key factory for the current WTContext's locale. |
|
CollationKeyFactory(Locale locale)
Construct a collation key factory for the given locale. |
|
| Method Summary | |
|---|---|
String |
getCollationString(Object obj)
Get a collation string for the given object. |
CollationKey |
getKey(Object obj)
Get a collation key for the given object. |
Locale |
getLocale()
Get the locale corresponding to this factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CollationKeyFactory()
WTContext's locale.
locale - desired localepublic CollationKeyFactory(Locale locale)
locale - desired locale| Method Detail |
|---|
public Locale getLocale()
public CollationKey getKey(Object obj)
obj - the object
public String getCollationString(Object obj)
obj.toString().
Subclasses should override to produce the desired collation string.
obj - the object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||