|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nist.core.ParserCore
gov.nist.javax.sip.parser.Parser
gov.nist.javax.sip.parser.URLParser
public class URLParser
Parser For SIP and Tel URLs. Other kinds of URL's are handled by the J2SE 1.4 URL class.
| Field Summary |
|---|
| Fields inherited from class gov.nist.core.ParserCore |
|---|
debug |
| Constructor Summary | |
|---|---|
URLParser(Lexer lexer)
|
|
URLParser(String url)
|
|
| Method Summary | |
|---|---|
static void |
main(String[] args)
|
GenericURI |
parse()
Default parse method. |
TelephoneNumber |
parseTelephoneNumber(boolean inBrackets)
Parser for telephone subscriber. |
String |
peekScheme()
|
SipUri |
sipURL(boolean inBrackets)
Parse and return a structure for a SIP URL. |
TelURLImpl |
telURL(boolean inBrackets)
Parse and return a structure for a Tel URL. |
GenericURI |
uriReference(boolean inBrackets)
Parse and return a structure for a generic URL. |
| Methods inherited from class gov.nist.javax.sip.parser.Parser |
|---|
checkToken |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public URLParser(String url)
public URLParser(Lexer lexer)
| Method Detail |
|---|
public GenericURI uriReference(boolean inBrackets)
throws ParseException
ParseException - if there was a problem parsing.
public final TelephoneNumber parseTelephoneNumber(boolean inBrackets)
throws ParseException
ParseException
public TelURLImpl telURL(boolean inBrackets)
throws ParseException
ParseException
public SipUri sipURL(boolean inBrackets)
throws ParseException
ParseException - if there was a problem parsing.
public String peekScheme()
throws ParseException
ParseException
public GenericURI parse()
throws ParseException
ParseException
public static void main(String[] args)
throws ParseException
ParseException
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||