Author: jkaputin
Date: Tue Sep 27 04:30:16 2005
New Revision: 291909
URL: http://svn.apache.org/viewcvs?rev=291909&view=rev
Log:
Updated Javadoc comments.
Modified:
incubator/woden/java/src/org/apache/woden/internal/util/StringUtils.java
Modified:
incubator/woden/java/src/org/apache/woden/internal/util/StringUtils.java
URL:
http://svn.apache.org/viewcvs/incubator/woden/java/src/org/apache/woden/internal/util/StringUtils.java?rev=291909&r1=291908&r2=291909&view=diff
==============================================================================
--- incubator/woden/java/src/org/apache/woden/internal/util/StringUtils.java
(original)
+++ incubator/woden/java/src/org/apache/woden/internal/util/StringUtils.java
Tue Sep 27 04:30:16 2005
@@ -16,18 +16,16 @@
public class StringUtils {
/**
- * Return a URL created from a context URL and a relative file path.
- * If that fails, try to create a 'file' URL from the relative file
- * path.
- *
- * Note, a valid context URL is expected, but if it is invalid the
- * only other possibility this method will consider is that an absolute
- * file path has been passed in as the fileSpec.
+ * Return a URL created from a context URL and a relative URI.
+ * If a valid URL cannot be created the only other possibility
+ * this method will consider is that an absolute file path has
+ * been passed in as the relative URI argument, and it will try
+ * to create a 'file' URL from it.
*
- * @param contextURL the document base URL for a relative path
- * @param fileSpec a file path relative to a context URL or an
+ * @param contextURL the document base URL
+ * @param fileSpec a file URI relative to the contextURL or an
* absolute file path
- * @return the URL created from the context and relative path
+ * @return the URL created from contextURL and fileSpec
*/
public static URL getURL(URL contextURL, String fileSpec)
throws MalformedURLException {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]