ingo@100: /* ingo@100: * Copyright (c) 2010 by Intevation GmbH ingo@100: * ingo@100: * This program is free software under the LGPL (>=v2.1) ingo@100: * Read the file LGPL.txt coming with the software for details ingo@100: * or visit http://www.gnu.org/licenses/ if it does not exist. ingo@100: */ ingo@100: sascha@48: package de.intevation.artifacts; sascha@48: sascha@48: import java.util.Locale; sascha@48: sascha@48: /** sascha@48: * Interface to build pairs of preference and quality. sascha@48: * sascha@77: * @author Sascha L. Teichmann sascha@48: */ sascha@48: public interface PreferredLocale sascha@48: { sascha@78: /** sascha@78: * Returns the locale of the pair. sascha@78: * @return The locale. sascha@78: */ sascha@48: Locale getLocale(); sascha@78: /** sascha@78: * Returns the quality of the pair. sascha@78: * @return the quality sascha@78: */ sascha@48: float getQuality(); sascha@48: } sascha@85: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :