Java implementation of "Tags for Identifying Languages", RFC-5646. Supports normal language tags. Special private language tags beginning with "x" and grandfathered tags beginning with "i" are not supported.
License: Apache License 2.0
Java 100.00%
nimbus-language-tags's Introduction
Nimbus-LangTag
README
Java implementation of "Tags for Identifying Languages", RFC-5646.
Supports normal language tags. Special private language tags beginning with "x"
and grandfathered tags beginning with "i" are not supported.
See com.nimbusds.langtag.LangTag class for details.
This package has no dependencies.
Change log:
version 1.0 (2012-05-26)
* First official release.
version 1.1 (2013-01-31)
* Adds ReadOnlyLangTag interface.
* Fixes LangTag.equals(Object) handling of null arguments.
* Adds LangTagUtil class.
version 1.1.1 (2013-04-05)
* Switches Ant build script to Maven.
* Publishes library to Maven Central.
version 1.2 (2013-09-11)
* Renames LangTagUtil class to LangTagUtils.
* Adds strip method to LangTagUtils class.
* Adds extract method to LangTagUtils class.
version 1.3 (2013-10-23)
* Adds LangTagUtils.strip(Set) and LangTagUtils.strip(List) methods.
version 1.4 (2014-01-14)
* Adds LangTagUtils.toStringList(Collection<LangTag>) and
LangTagUtils.toStringArray(LangTag[]) methods.
* Adds LangTagUtils.parseLangTagList(Collection<String>),
LangTagUtils.parseLangTagList(String...) and
LangTagUtils.parseLangTagArray(String...) methods.
version 1.4.1 (2016-08-26)
* Upgrades to JSON Smart 1.3.1.
version 1.4.2 (2016-09-11)
* Adds copyright notice.
version 1.4.3 (2016-09-11)
* Adds OSGi support.