diff 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
line wrap: on
line diff
--- a/artifacts/src/main/java/de/intevation/artifacts/CallMeta.java	Sun Feb 21 23:05:32 2010 +0000
+++ b/artifacts/src/main/java/de/intevation/artifacts/CallMeta.java	Thu Mar 11 10:53:59 2010 +0000
@@ -9,8 +9,18 @@
  */
 public interface CallMeta
 {
+    /**
+     * Returns a list of the languages the calling client is willing to accept.
+     * @return the list.
+     */
     PreferredLocale [] getLanguages();
 
+    /**
+     * Intersects the list of preferred client languages with a server
+     * given list and returns the one which is best fitting.
+     * @param locales The list of languages the server provides.
+     * @return The best fitting language.
+     */
     Locale getPreferredLocale(Locale [] locales);
 }
-// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8:
+// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org