org.gnu.pango
public class Language extends Boxed
| Constructor Summary | |
|---|---|
| Language(String lang)
Take a RFC-3066 format language tag as a string and convert it to a
PangoLanguage pointer.
| |
| Language(Handle handle)
Constructs a new language object from handle to native resources. | |
| Method Summary | |
|---|---|
| String | toString()
Returns a RFC-3066 format string representing the given language tag. |
This function first canonicalizes the string by converting it to lowercase, mapping '_' to '-', and stripping all characters other than letters and '-'.