jdk/src/share/classes/java/net/URL.java
changeset 21278 ef8a3a2a72f2
parent 19069 1d9cb0d080e3
child 22064 e3c4398c54cd
equal deleted inserted replaced
21277:bd380b80f9ea 21278:ef8a3a2a72f2
   463      * path is treated as absolute and the spec path replaces the context path.
   463      * path is treated as absolute and the spec path replaces the context path.
   464      * <p>
   464      * <p>
   465      * Otherwise, the path is treated as a relative path and is appended to the
   465      * Otherwise, the path is treated as a relative path and is appended to the
   466      * context path, as described in RFC2396. Also, in this case,
   466      * context path, as described in RFC2396. Also, in this case,
   467      * the path is canonicalized through the removal of directory
   467      * the path is canonicalized through the removal of directory
   468      * changes made by occurences of &quot;..&quot; and &quot;.&quot;.
   468      * changes made by occurrences of &quot;..&quot; and &quot;.&quot;.
   469      * <p>
   469      * <p>
   470      * For a more detailed description of URL parsing, refer to RFC2396.
   470      * For a more detailed description of URL parsing, refer to RFC2396.
   471      *
   471      *
   472      * @param      context   the context in which to parse the specification.
   472      * @param      context   the context in which to parse the specification.
   473      * @param      spec      the {@code String} to parse as a URL.
   473      * @param      spec      the {@code String} to parse as a URL.