Definition of Parseurl

JDK Doc(JAVA)
parseURL(URL, String, int, int)
- Method in class java.net.URLStreamHandler 
protected void parseURL (URL  u, String  spec, int start, int limit)
Parses the string representation of a URL into a URL object. If there is any inherited context, then it has already been copied into the URL argument. The parseURL method of URLStreamHandler parses the string representation as if it were an http specification. Most URL protocol families have a similar parsing. A stream protocol handler for a protocol that has a different syntax must override this routine.Parameters: u - the URL to receive the result of parsing the spec. - the representing the URL that must be parsed.spec - the String representing the URL that must be parsed. - the character index at which to begin parsing. This is just past the '' (if there is one) that specifies the determination of the protocol name.start - the character index at which to begin parsing. This is just past the ':' (if there is one) that specifies the determination of the protocol name. - the character position to stop parsing at. This is the end of the string or the position of the "" character, if present. All information after the sharp sign indicates an anchor.limit - the character position to stop parsing at. This is the end of the string or the position of the "#" character, if present. All information after the sharp sign indicates an anchor.

Search Dictionary:
Search Web Search Dictionary