org.gnu.pango
public class Language extends Boxed
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may exist in java-gnome 4.0; look out for
org.gnome.pango.Language
.
As this package was never fully implemented in java-gnome 2.x,
however, any new code written will have a considerably different
public API.
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. |
Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Take a RFC-3066 format language tag as a string and convert it to a PangoLanguage pointer.This function first canonicalizes the string by converting it to lowercase, mapping '_' to '-', and stripping all characters other than letters and '-'.
Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Constructs a new language object from handle to native resources. This should only be used internally by the java-gnome packages.Deprecated: Superceeded by java-gnome 4.0; this method or constant will no doubt exist conceptually, but it may have a different name or signature in order that the presented API is an algorithmic mapping of the underlying native libraries.
Returns a RFC-3066 format string representing the given language tag.