|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.rssowl.util.i18n.LanguageDetector
public class LanguageDetector
Class to parse a language from a Locale that is supported by RSSOwl. This is usefull if the locale of a user holds a dialect of a language that is supported.
| Field Summary | |
|---|---|
private static java.util.Hashtable |
countryMap
Hashtable with ISO countrycodes |
| Constructor Summary | |
|---|---|
private |
LanguageDetector()
This utility class constructor is hidden |
| Method Summary | |
|---|---|
static java.lang.String |
parseLanguage(java.util.Locale locale)
Try parse a language from the given locale that is supported in RSSOwl. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static java.util.Hashtable countryMap
| Constructor Detail |
|---|
private LanguageDetector()
| Method Detail |
|---|
public static java.lang.String parseLanguage(java.util.Locale locale)
locale - Selected locale
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||