Author: ssmiweve
Date: 2008-09-24 18:57:39 +0200 (Wed, 24 Sep 2008)
New Revision: 6832

Modified:
   trunk/view-control-spi/src/main/java/no/sesat/search/view/FindResource.java
Log:
javadoc


Modified: 
trunk/view-control-spi/src/main/java/no/sesat/search/view/FindResource.java
===================================================================
--- trunk/view-control-spi/src/main/java/no/sesat/search/view/FindResource.java 
2008-09-24 16:57:10 UTC (rev 6831)
+++ trunk/view-control-spi/src/main/java/no/sesat/search/view/FindResource.java 
2008-09-24 16:57:39 UTC (rev 6832)
@@ -51,6 +51,15 @@
 
     // Static --------------------------------------------------------
 
+    /** Find the real location, in URL format, of the resource for the given 
site.
+     *
+     * Cannot be used in tests as is hardcoded to work with the 
UrlResourceLoader.
+     *
+     * @param site the site
+     * @param resource the resource
+     * @return a string in URL format where the resource can be found, or null 
if not found.
+     * @throws IOException exception when pinging to find real location
+     */
     public static String find(final Site site, final String resource) throws 
IOException{
 
         // This URL does not belong to search-portal

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to