public abstract class BaseFwdCollator
extends java.text.RuleBasedCollator
Each code point in the character set is sorted uniquely and no allowances are made for varying collation strength. There are no ignorable characters.
Constructor and Description |
---|
BaseFwdCollator(java.lang.String cpName,
int[] points)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
initRules(java.lang.String cpName,
int[] points)
Generate a rules string which governs Progress-like collation for the specific character set.
|
clone, compare, equals, getCollationElementIterator, getCollationElementIterator, getCollationKey, getRules, hashCode
compare, equals, getAvailableLocales, getDecomposition, getInstance, getInstance, getStrength, setDecomposition, setStrength
BaseFwdCollator(java.lang.String cpName, int[] points) throws java.io.UnsupportedEncodingException, java.text.ParseException
FwdCollatorProvider
.cpName
- The name of this code page.points
- An array of bytes representing the order in which the code-points will be sorted.java.io.UnsupportedEncodingException
- if there is an error generating the rules.java.text.ParseException
- if there is an error parsing the rules.private static java.lang.String initRules(java.lang.String cpName, int[] points) throws java.io.UnsupportedEncodingException
cpName
- The name of this code page.points
- An array of bytes representing the order in which the code-points will be sorted.java.io.UnsupportedEncodingException
- if the character encoding is unavailable.