Mercurial > dive4elements > framework
comparison artifacts/src/main/java/de/intevation/artifacts/CallMeta.java @ 78:55eefe63a777
Repaired the javadoc stuff for almost all artifact interfaces.
artifacts/trunk@760 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 11 Mar 2010 10:53:59 +0000 |
parents | 48d1a9a082c2 |
children | 933bbc9fc11f |
comparison
equal
deleted
inserted
replaced
77:48d1a9a082c2 | 78:55eefe63a777 |
---|---|
7 * | 7 * |
8 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> | 8 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> |
9 */ | 9 */ |
10 public interface CallMeta | 10 public interface CallMeta |
11 { | 11 { |
12 /** | |
13 * Returns a list of the languages the calling client is willing to accept. | |
14 * @return the list. | |
15 */ | |
12 PreferredLocale [] getLanguages(); | 16 PreferredLocale [] getLanguages(); |
13 | 17 |
18 /** | |
19 * Intersects the list of preferred client languages with a server | |
20 * given list and returns the one which is best fitting. | |
21 * @param locales The list of languages the server provides. | |
22 * @return The best fitting language. | |
23 */ | |
14 Locale getPreferredLocale(Locale [] locales); | 24 Locale getPreferredLocale(Locale [] locales); |
15 } | 25 } |
16 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: | 26 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |