org.codehaus.httpcache4j.preference
Class LocalePreference
java.lang.Object
org.codehaus.httpcache4j.preference.Preference<java.util.Locale>
org.codehaus.httpcache4j.preference.LocalePreference
public class LocalePreference
- extends Preference<java.util.Locale>
Represents a Language preference.
Described in http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html section: 14.2 and 14.4
|
Field Summary |
static java.util.Locale |
ALL
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ALL
public static java.util.Locale ALL
LocalePreference
public LocalePreference(java.util.Locale us)
LocalePreference
public LocalePreference(java.util.Locale preference,
double quality)
getStringValue
protected java.lang.String getStringValue()
- Overrides:
getStringValue in class Preference<java.util.Locale>
Copyright © 2008-2009. All Rights Reserved.