org.lastbamboo.common.sdp.parser
Class ZoneFieldParser

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.ZoneFieldParser

public class ZoneFieldParser
extends SDPParser

Parser For the Zone 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
ZoneFieldParser(String zoneField)
          Creates new ZoneFieldParser
 
Method Summary
 String getSign(String tokenValue)
          Get the sign of the offset
 TypedTime getTypedTime(String tokenValue)
          Get the typed time
 SDPField parse()
           
 ZoneField zoneField()
          parse the Zone field string
 
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

ZoneFieldParser

public ZoneFieldParser(String zoneField)
Creates new ZoneFieldParser

Method Detail

getSign

public String getSign(String tokenValue)
Get the sign of the offset

Parameters:
String - tokenValue to set
Returns:
String

getTypedTime

public TypedTime getTypedTime(String tokenValue)
Get the typed time

Parameters:
String - tokenValue to set
Returns:
TypedTime

zoneField

public ZoneField zoneField()
                    throws ParseException
parse the Zone field string

Returns:
ZoneField
Throws:
ParseException

parse

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


Copyright © 2013 LittleShoot. All Rights Reserved.