Package dev.enola.common.text
Class LangString
java.lang.Object
dev.enola.common.text.LangString
- Direct Known Subclasses:
PronounceableText
LangString is a
String plus its (mandatory) language.
For example, "hello, world" in English is a LangString.
For Text with Direction, use DirectionalLangString.
The class name LangString was chosen both because of its *String suffix
familiarity for Java developers, and inspired by rdf:langString (even though this
Java type is otherwise technically not specific to the Resource Description Framework [RDF] as
such).
Alternative names for the same concept include LocalizedText, LanguageText
, MultilingualString ('MLS'; or MultiLangString or
MultiLanguageString), InternationalizedString or LanguageString.
-
Method Summary