public final class LyraCollator extends Object
| Modifier and Type | Method and Description |
|---|---|
LyraCollationElementIterator |
getCollationElementIterator(String source)
Returns a LyraCollationElementIterator for the given String.
|
static LyraCollator |
getInstance(String rules,
String name)
Gets an instance of Lyra Collator for given rules from pool or creates a
new one.
|
String |
getName()
Returns collator's name.
|
int |
getPrimOrderCount()
Maximum primary order for collator.
|
int |
getSecOrderCount()
Maximum secondary order for collator.
|
int |
getTerOrderCount()
Maximum ternary order for collator.
|
public static LyraCollator getInstance(String rules, String name)
rules - collation rules.name - collator name.public int getPrimOrderCount()
public int getSecOrderCount()
public int getTerOrderCount()
public LyraCollationElementIterator getCollationElementIterator(String source)
source - the string to be collatedpublic String getName()
Copyright © 2019 CURS. All rights reserved.