< prev index next >

src/java.naming/share/classes/com/sun/jndi/toolkit/url/Uri.java

Print this page

        

*** 45,55 **** * <p> It may be appropriate to drop this code in favor of the * java.net.URI class. The changes would need to be written so as to * still run on pre-1.4 platforms not containing that class. * * <p> The format of an absolute URI (see the RFCs mentioned above) is: ! * <p><blockquote><pre> * absoluteURI = scheme ":" ( hier_part | opaque_part ) * * scheme = alpha *( alpha | digit | "+" | "-" | "." ) * * hier_part = ( net_path | abs_path ) [ "?" query ] --- 45,55 ---- * <p> It may be appropriate to drop this code in favor of the * java.net.URI class. The changes would need to be written so as to * still run on pre-1.4 platforms not containing that class. * * <p> The format of an absolute URI (see the RFCs mentioned above) is: ! * <blockquote><pre>{@code * absoluteURI = scheme ":" ( hier_part | opaque_part ) * * scheme = alpha *( alpha | digit | "+" | "-" | "." ) * * hier_part = ( net_path | abs_path ) [ "?" query ]
*** 92,107 **** * "$" | "," | "[" | "]" * unreserved = alphanum | mark * mark = "-" | "_" | "." | "!" | "~" | "*" | "'" | "(" | ")" * escaped = "%" hex hex * unwise = "{" | "}" | "|" | "\" | "^" | "`" ! * </pre></blockquote> * ! * <p> Currently URIs containing <tt>userinfo</tt> or <tt>reg_name</tt> * are not supported. ! * The <tt>opaque_part</tt> of a non-hierarchical URI is treated as if ! * if were a <tt>path</tt> without a leading slash. */ public class Uri { --- 92,107 ---- * "$" | "," | "[" | "]" * unreserved = alphanum | mark * mark = "-" | "_" | "." | "!" | "~" | "*" | "'" | "(" | ")" * escaped = "%" hex hex * unwise = "{" | "}" | "|" | "\" | "^" | "`" ! * }</pre></blockquote> * ! * <p> Currently URIs containing {@code userinfo} or {@code reg_name} * are not supported. ! * The {@code opaque_part} of a non-hierarchical URI is treated as if ! * if were a {@code path} without a leading slash. */ public class Uri {
< prev index next >