|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.resteasy.util.LocaleHelper
public class LocaleHelper
| Constructor Summary | |
|---|---|
LocaleHelper()
|
|
| Method Summary | |
|---|---|
static java.util.Locale |
extractLocale(java.lang.String lang)
|
static java.lang.String |
toLanguageString(java.util.Locale value)
HTTP 1.1 has different String format for language than what java.util.Locale does '-' instead of '_' as a separator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocaleHelper()
| Method Detail |
|---|
public static java.util.Locale extractLocale(java.lang.String lang)
public static java.lang.String toLanguageString(java.util.Locale value)
value -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||