public interface Orthography
A combination of language, country, and script that describes a unique written language.
Developer Notes: Neither Locale
nor the ICU4J ULocale class were flexible enough for our
purposes, as they lack an interface that can be implemented by other classes.
We wanted classes like formatting objects to be able to directly provide this information to avoid unnecessary object
creation.
Client classes that wish to use either of these classes may want to consider writing an adapter that implements this
interface and wraps an instance of one of those classes.
Modifier and Type | Method and Description |
---|---|
Country |
getCountry()
Returns the country for this written language.
|
Language |
getLanguage()
Returns the (spoken) language for this written language.
|
Script |
getScript()
Returns the script for this written language.
|
Language getLanguage()
Country getCountry()
Script getScript()
This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.