gov.nist.javax.sip.parser
クラス URLParser

java.lang.Object
  上位を拡張 gov.nist.core.ParserCore
      上位を拡張 gov.nist.javax.sip.parser.Parser
          上位を拡張 gov.nist.javax.sip.parser.URLParser
すべての実装されたインタフェース:
TokenTypes

public class URLParser
extends Parser

Parser For SIP and Tel URLs. Other kinds of URL's are handled by the J2SE 1.4 URL class.

バージョン:
JAIN-SIP-1.1 $Revision: 1.8 $ $Date: 2004/07/28 14:13:55 $
作成者:
M. Ranganathan
This code is in the public domain.

フィールドの概要
 
クラス gov.nist.core.ParserCore から継承されたフィールド
debug
 
インタフェース gov.nist.javax.sip.parser.TokenTypes から継承されたフィールド
ACCEPT, ACCEPT_ENCODING, ACCEPT_LANGUAGE, ACK, ALERT_INFO, ALLOW, ALLOW_EVENTS, ALPHA, AND, AT, AUTHENTICATION_INFO, AUTHORIZATION, BACK_QUOTE, BACKSLASH, BAR, BYE, CALL_ID, CALL_INFO, CANCEL, COLON, CONTACT, CONTENT_DISPOSITION, CONTENT_ENCODING, CONTENT_LANGUAGE, CONTENT_LENGTH, CONTENT_TYPE, CSEQ, DATE, DIGIT, DOLLAR, DOT, DOUBLEQUOTE, ENCRYPTION, END, EQUALS, ERROR_INFO, EVENT, EXCLAMATION, EXPIRES, FROM, GREATER_THAN, HAT, HIDE, HT, ID, IN_REPLY_TO, INVITE, L_CURLY, L_SQUARE_BRACKET, LESS_THAN, LPAREN, MAX_FORWARDS, MIME_VERSION, MIN_EXPIRES, MINUS, NOTIFY, NULL, OPTIONS, ORGANIZATION, PERCENT, PLUS, POUND, PRIORITY, PROXY_AUTHENTICATE, PROXY_AUTHORIZATION, PROXY_REQUIRE, QUESTION, QUOTE, R_CURLY, R_SQUARE_BRACKET, RACK, REASON, RECORD_ROUTE, REFER_TO, REGISTER, REPLY_TO, REQUIRE, RESPONSE_KEY, RETRY_AFTER, ROUTE, RPAREN, RSEQ, SEMICOLON, SERVER, SIP, SLASH, SP, STAR, START, SUBJECT, SUBSCRIBE, SUBSCRIPTION_STATE, SUPPORTED, TEL, TILDE, TIMESTAMP, TO, UNDERSCORE, UNSUPPORTED, USER_AGENT, VIA, WARNING, WHITESPACE, WWW_AUTHENTICATE
 
コンストラクタの概要
URLParser(java.lang.String url)
           
 
メソッドの概要
 GenericURI parse()
          Default parse method.
 TelephoneNumber parseTelephoneNumber()
          Parser for telephone subscriber.
 java.lang.String peekScheme()
           
 SipUri sipURL()
          Parse and return a structure for a SIP URL.
 TelURLImpl telURL()
          Parse and return a structure for a Tel URL.
 GenericURI uriReference()
          Parse and return a structure for a generic URL.
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

URLParser

public URLParser(java.lang.String url)
メソッドの詳細

uriReference

public GenericURI uriReference()
                        throws java.text.ParseException
Parse 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.
例外:
ParsException - if there was a problem parsing.
java.text.ParseException

parseTelephoneNumber

public final TelephoneNumber parseTelephoneNumber()
                                           throws java.text.ParseException
Parser for telephone subscriber.

戻り値:
the parsed telephone number.
例外:
java.text.ParseException

telURL

public TelURLImpl telURL()
                  throws java.text.ParseException
Parse and return a structure for a Tel URL.

戻り値:
a parsed tel url structure.
例外:
java.text.ParseException

sipURL

public SipUri sipURL()
              throws java.text.ParseException
Parse and return a structure for a SIP URL.

戻り値:
a URL structure for a SIP url.
例外:
ParsException - if there was a problem parsing.
java.text.ParseException

peekScheme

public java.lang.String peekScheme()
                            throws java.text.ParseException
例外:
java.text.ParseException

parse

public GenericURI parse()
                 throws java.text.ParseException
Default parse method. This method just calls uriReference.

例外:
java.text.ParseException