Update of /var/cvs/src/org/mmbase/util
In directory james.mmbase.org:/tmp/cvs-serv25355

Modified Files:
        UriParser.java 
Log Message:
javadoc



See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/util


Index: UriParser.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/util/UriParser.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- UriParser.java      5 Feb 2009 08:44:47 -0000       1.4
+++ UriParser.java      5 Feb 2009 08:51:42 -0000       1.5
@@ -19,13 +19,20 @@
  *
  * @author Michiel Meeuwissen
  * @since MMBase-1.7
- * @version $Id: UriParser.java,v 1.4 2009/02/05 08:44:47 andre Exp $
+ * @version $Id: UriParser.java,v 1.5 2009/02/05 08:51:42 andre Exp $
  */
 public class UriParser {
 
     private static final Logger log = 
Logging.getLoggerInstance(UriParser.class);
     final static char SEPARATOR = java.io.File.separator.charAt(0); // '\' for 
windows '/' for other oses.
     
+    /**
+     * Converts an absolute path into a relative path, being a path relative 
to basePath.
+     * Uses the fileseparator of the current filesystem.
+     *
+     * @param basePath      The base path.
+     * @param path          The path to convert against basePath.
+     */
     static public String makeRelative(final String basePath, final String 
path) {
         return makeRelative(basePath, path, SEPARATOR);
     }
@@ -35,6 +42,7 @@
      *
      * @param basePath  The base path.
      * @param path      The path to convert against basePath.
+     * @param separatorChar Path separator ('\' for windows '/' for others)
      */
     static public String makeRelative(final String basePath, final String 
path, final char separatorChar) {
         if (log.isDebugEnabled()) {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to