public final class CP1252Collator extends BaseFwdCollator
Each code point in the character set is sorted uniquely and no allowances are made for varying collation strength. There are no ignorable characters.
| Modifier and Type | Field and Description |
|---|---|
private static int[] |
CP1252_POINTS
CP1252 code points, in ascending collation order.
|
| Constructor and Description |
|---|
CP1252Collator()
Default constructor.
|
clone, compare, equals, getCollationElementIterator, getCollationElementIterator, getCollationKey, getRules, hashCodecompare, equals, getAvailableLocales, getDecomposition, getInstance, getInstance, getStrength, setDecomposition, setStrengthprivate static final int[] CP1252_POINTS
NOTE: codepoints 0x81, 0x8D, 0x8F, 0x90 and 0x9D are not defined
for this CP and all of them will be converted to � (REPLACEMENT-CHARACTER)
causing the RuleBasedCollator c'tor to fail with ParseException.
CP1252Collator()
throws java.io.UnsupportedEncodingException,
java.text.ParseException
FwdCollatorProvider.java.io.UnsupportedEncodingException - if there is an error generating the rules.java.text.ParseException - if there is an error parsing the rules.