public class LocaleHelper extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
LocaleHelper.Decoder |
private static class |
LocaleHelper.Encoder |
Modifier and Type | Field and Description |
---|---|
private static com.google.common.base.Function<String,Locale> |
decoder |
private static com.google.common.base.Function<Locale,String> |
encoder |
Constructor and Description |
---|
LocaleHelper() |
Modifier and Type | Method and Description |
---|---|
static Locale |
fromRequest(AbstractServiceRequest<?> locale) |
static Locale |
fromString(String locale) |
static com.google.common.base.Function<String,Locale> |
fromStringFunction() |
static String |
toString(Locale locale) |
static com.google.common.base.Function<Locale,String> |
toStringFunction() |
public static Locale fromRequest(AbstractServiceRequest<?> locale)
Copyright © 2012-2015 52north.org. All Rights Reserved.