RuleBasedCollator.RuleBasedCollator

RuleBasedCollator.RuleBasedCollator

Class Overview | Class Members | This Package | All Packages

Syntax
public RuleBasedCollator( String rules ) throws ParseException
Parameters
rules
the collation rules to build the collation table from.
Description
RuleBasedCollator constructor. This takes the table rules and builds a collation table out of them. Please see RuleBasedCollator class description for more details on the collation rule syntax.

Exceptions
ParseException A format exception will be thrown if the build process of the rules fails. For example, build rule "a < b c < d" will cause the constructor to throw the ParseException.
See Also
Locale