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

gov.nist.javax.sdp.parser
Class ZoneFieldParser

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

public class ZoneFieldParser
extends SDPParser

Parser For the Zone field.

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

Field Summary
 
Fields inherited from class gov.nist.core.ParserCore
debug
 
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 java.lang.Object
equals, 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:
tokenValue - to examine.
Returns:
the sign.

getTypedTime

public TypedTime getTypedTime(String tokenValue)
Get the typed time.

Parameters:
tokenValue - -- token value to convert to typed time.
Returns:
TypedTime -- the converted typed time value.

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

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.