sascha@48: package de.intevation.artifactdatabase; sascha@48: sascha@48: import de.intevation.artifacts.PreferredLocale; sascha@48: sascha@48: import java.util.Locale; sascha@48: sascha@48: /** sascha@48: * @author Sascha L. Teichmann (sascha.teichmann@intevation.de) sascha@48: */ sascha@48: public class DefaultPreferredLocale sascha@48: implements PreferredLocale sascha@48: { sascha@48: protected Locale locale; sascha@48: protected float quality; sascha@48: sascha@48: public DefaultPreferredLocale() { sascha@48: } sascha@48: sascha@48: public DefaultPreferredLocale(String lang, float quality) { sascha@48: locale = new Locale(lang); sascha@48: this.quality = quality; sascha@48: } sascha@48: sascha@48: public Locale getLocale() { sascha@48: return locale; sascha@48: } sascha@48: sascha@48: public float getQuality() { sascha@48: return quality; sascha@48: } sascha@48: } sascha@48: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: