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));
        }


Reply via email to