Modifier and Type | Field and Description |
---|---|
private static Set |
rtol
Do lazy loading of the huge file of languages.
|
Modifier | Constructor and Description |
---|---|
private |
Languages.RtoL()
This is a singleton class.
|
private static Set rtol
private Languages.RtoL()
public static boolean isRtoL(String script, String lang)
Note: This is problematic. Languages do not have direction. Scripts do. Further, there are over 7000 living languages, many of which are written in Right-to-Left scripts and are not listed here.
script
- the iso15924 script code, must be in Title caselang
- the iso639 language code, must be lower case