org.lastbamboo.common.sdp.parser
Class PhoneFieldParser

java.lang.Object
  extended by org.lastbamboo.common.sdp.ParserCore
      extended by org.lastbamboo.common.sdp.parser.SDPParser
          extended by org.lastbamboo.common.sdp.parser.PhoneFieldParser

public class PhoneFieldParser
extends SDPParser

Parser for the Phone field.

Version:
JAIN-SDP-PUBLIC-RELEASE $Revision: 1.2 $ $Date: 2004/01/22 13:26:28 $
Author:
Olivier Deruelle , M. Ranganathan This code is in the public domain.

Field Summary
 
Fields inherited from class org.lastbamboo.common.sdp.ParserCore
lexer, nesting_level
 
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 org.lastbamboo.common.sdp.ParserCore
dbg_enter, dbg_leave, nameValue, nameValue, peekLine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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


Copyright © 2013 LittleShoot. All Rights Reserved.