NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

gov.nist.javax.sdp.parser
Class PhoneFieldParser

java.lang.Object
  extended by gov.nist.core.ParserCore
      extended by gov.nist.javax.sdp.parser.SDPParser
          extended by gov.nist.javax.sdp.parser.PhoneFieldParser

public class PhoneFieldParser
extends SDPParser

Parser for the Phone field.

Version:
JAIN-SDP-PUBLIC-RELEASE $Revision: 1.5 $ $Date: 2009/07/17 18:57:17 $
Author:
Olivier Deruelle, M. Ranganathan

Field Summary
 
Fields inherited from class gov.nist.core.ParserCore
debug
 
Constructor Summary
PhoneFieldParser(String phoneField)
          Creates new PhoneFieldParser
 
Method Summary
 String getDisplayName(String rest)
           
 String getPhoneNumber(String rest)
           
 SDPField parse()
           
 PhoneField phoneField()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhoneFieldParser

public PhoneFieldParser(String phoneField)
Creates new PhoneFieldParser

Method Detail

getDisplayName

public String getDisplayName(String rest)

getPhoneNumber

public String getPhoneNumber(String rest)
                      throws ParseException
Throws:
ParseException

phoneField

public PhoneField phoneField()
                      throws ParseException
Throws:
ParseException

parse

public SDPField parse()
               throws ParseException
Specified by:
parse in class SDPParser
Throws:
ParseException

NIST-SIP: The Reference Implementation for JAIN-SIP 1.2

A product of the NIST/ITL Advanced Networking Technologies Division.
See conditions of use.
Submit a bug report or feature request.