org.clazzes.util.aop.i18n.impl
Class CldrPluralRuleLoader
java.lang.Object
org.clazzes.util.aop.i18n.impl.CldrPluralRuleLoader
public class CldrPluralRuleLoader
- extends Object
A loader for CLDR plural rules as specified in
the plural rule specification of the Unicode Consortium.
The parsed file plurals.xml
file is extracted from
http://unicode.org/Public/cldr/22.1/core.zip,
which contains an entry common/supplemental/plurals.xml
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CldrPluralRuleLoader
public CldrPluralRuleLoader()
parsePluralsXml
public void parsePluralsXml()
throws XMLStreamException,
ParseException
- Throws:
XMLStreamException
ParseException
getRuleForLocale
public PluralRule getRuleForLocale(String loc)
Copyright © 2013. All Rights Reserved.