Mercurial > dive4elements > framework
comparison artifacts/src/main/java/org/dive4elements/artifacts/PreferredLocale.java @ 471:1a87cb24a446
Moved directories to org.dive4elements
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 10:50:31 +0200 |
parents | artifacts/src/main/java/de/intevation/artifacts/PreferredLocale.java@933bbc9fc11f |
children | 415df0fc4fa1 |
comparison
equal
deleted
inserted
replaced
470:19cb9729bd17 | 471:1a87cb24a446 |
---|---|
1 /* | |
2 * Copyright (c) 2010 by Intevation GmbH | |
3 * | |
4 * This program is free software under the LGPL (>=v2.1) | |
5 * Read the file LGPL.txt coming with the software for details | |
6 * or visit http://www.gnu.org/licenses/ if it does not exist. | |
7 */ | |
8 | |
9 package de.intevation.artifacts; | |
10 | |
11 import java.util.Locale; | |
12 | |
13 /** | |
14 * Interface to build pairs of preference and quality. | |
15 * | |
16 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> | |
17 */ | |
18 public interface PreferredLocale | |
19 { | |
20 /** | |
21 * Returns the locale of the pair. | |
22 * @return The locale. | |
23 */ | |
24 Locale getLocale(); | |
25 /** | |
26 * Returns the quality of the pair. | |
27 * @return the quality | |
28 */ | |
29 float getQuality(); | |
30 } | |
31 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |