Parser For SIP and Tel URLs. Other kinds of URL's are handled by the
J2SE 1.4 URL class.
version: JAIN-SIP-1.1 version: This code is in the public domain.
urlString() Scans forward until you hit a terminating character for a URL.
We do not handle non sip urls in this implementation.
the string that takes us to the end of this URL (i.e.
Gets a name value for a given query header (ie one that comes
after the ?).
name value pair for q-header exception: ParseException - if a parsing error occurs
Parses and returns a structure for a SIP URL.
Parameters: token - the token of scheme (SIP or SIPS) a URL structure for a SIP url. throws: ParsException - if there was a problem parsing. throws: IllegalArgumentException - when parsing error is fatal.
Parses and return a structure for a generic URL.
Note that non SIP URLs are just stored as a string (not parsed).
URI is a URL structure for a SIP url. throws: ParsException - if there was a problem parsing.
Scans forward until you hit a terminating character for a URL.
We do not handle non sip urls in this implementation.
the string that takes us to the end of this URL (i.e. tothe next delimiter). exception: ParseException - if a parsing error occurs