|
Qizx/open API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.axyana.qizxopen.util.Collations
Utility class for manipulation of text Collators, providing collator-based search functions.
Field Summary | |
static java.lang.String |
CODEPOINT
|
static java.lang.String |
CODEPOINT_SHORT
|
Constructor Summary | |
Collations()
|
Method Summary | |
static int |
compare(java.lang.String s1,
java.lang.String s2,
java.text.Collator collator)
Simple helper. |
static boolean |
endsWith(java.lang.String src,
java.lang.String pattern,
java.text.Collator collator)
|
static java.text.Collator |
getInstance(java.lang.String uri)
gets a locale-based collator from an uri of the form 'll' or 'll-CC' where 'll' is a ISO-639 language name and CC a ISO-3166 country name. |
static java.text.Collator |
getInstanceWithStrength(java.lang.String uri)
gets a locale-based collator from an uri of the form 'll' or 'll-CC' where 'll' is a ISO-639 language name and CC a ISO-3166 country name. |
static int |
indexOf(java.lang.String src,
java.lang.String pattern,
java.text.Collator collator)
Returns the index of the first occurrence of pattern. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String CODEPOINT
public static final java.lang.String CODEPOINT_SHORT
Constructor Detail |
public Collations()
Method Detail |
public static java.text.Collator getInstance(java.lang.String uri)
public static java.text.Collator getInstanceWithStrength(java.lang.String uri)
public static int compare(java.lang.String s1, java.lang.String s2, java.text.Collator collator)
public static int indexOf(java.lang.String src, java.lang.String pattern, java.text.Collator collator)
public static boolean endsWith(java.lang.String src, java.lang.String pattern, java.text.Collator collator)
|
© 2005 Axyana Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |