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

gov.nist.javax.sdp.parser
Class TimeFieldParser

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

public class TimeFieldParser
extends SDPParser

Version:
JAIN-SDP-PUBLIC-RELEASE $Revision: 1.7 $ $Date: 2009/07/17 18:57:18 $
Author:
deruelle

Field Summary
 
Fields inherited from class gov.nist.core.ParserCore
debug
 
Constructor Summary
TimeFieldParser(String timeField)
          Creates new TimeFieldParser
 
Method Summary
 TypedTime getTypedTime(String tokenValue)
          Get the typed time.
 SDPField parse()
           
 TimeField timeField()
          parse the field string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeFieldParser

public TimeFieldParser(String timeField)
Creates new TimeFieldParser

Method Detail

getTypedTime

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

Parameters:
tokenValue - to convert to typedTime.
Returns:
TypedTime

timeField

public TimeField timeField()
                    throws ParseException
parse the field string

Returns:
TimeField
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.