[freenet-cvs] r11224 - trunk/freenet/src/freenet/support

toad at freenetproject.org toad at freenetproject.org
Mon Dec 4 16:13:22 UTC 2006


Author: toad
Date: 2006-12-04 16:13:20 +0000 (Mon, 04 Dec 2006)
New Revision: 11224

Modified:
   trunk/freenet/src/freenet/support/URIPreEncoder.java
Log:
Comments

Modified: trunk/freenet/src/freenet/support/URIPreEncoder.java
===================================================================
--- trunk/freenet/src/freenet/support/URIPreEncoder.java	2006-12-04 16:13:02 UTC (rev 11223)
+++ trunk/freenet/src/freenet/support/URIPreEncoder.java	2006-12-04 16:13:20 UTC (rev 11224)
@@ -45,6 +45,10 @@
 		return output.toString();
 	}
 	
+	/**
+	 * Create a new URI from a string, which may contain characters which should have been encoded.
+	 * @throws URISyntaxException If the string does not represent a valid URI, even after encoding.
+	 */
 	public static URI encodeURI(String s) throws URISyntaxException {
 		return new URI(encode(s));
 	}




More information about the cvs mailing list