| |
|
| java.lang.Object com.salmonllc.localizer.LanguagePreferences
LanguagePreferences | public class LanguagePreferences implements Serializable(Code) | | This class is used to parse an HTTP language preferences string to determine which languages the user prefers
|
LanguagePreferences | public LanguagePreferences(String langString)(Code) | | Constructs a new LanguagePreference object. The passed string should be an http Accept-Language header.
|
getFirstLanguage | public String getFirstLanguage()(Code) | | Returns the first language in the list or null if there aren't any
|
getNextLanguage | public String getNextLanguage()(Code) | | Returns the next language in the list or null if there aren't any.
|
|
|
|