public class TimeDescriptionImpl extends Object implements TimeDescription
NTP_CONST| Constructor and Description |
|---|
TimeDescriptionImpl()
Creates new TimeDescriptionImpl
|
TimeDescriptionImpl(TimeField timeField)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRepeatField(RepeatField repeatField)
Add a repeat field.
|
Vector |
getRepeatTimes(boolean create)
Returns the list of repeat times (r= fields) specified in the
SessionDescription.
|
Time |
getTime()
Returns the Time field.
|
void |
setRepeatTimes(Vector repeatTimes)
Returns the list of repeat times (r= fields) specified in the
SessionDescription.
|
void |
setTime(Time timeField)
Sets the Time field.
|
String |
toString() |
public TimeDescriptionImpl()
public TimeDescriptionImpl(TimeField timeField)
timeField - time field to create this descrition frompublic Time getTime()
getTime in interface TimeDescriptionpublic void setTime(Time timeField) throws SdpException
setTime in interface TimeDescriptiontimeField - Time to setSdpException - if the time is nullpublic Vector getRepeatTimes(boolean create)
getRepeatTimes in interface TimeDescriptioncreate - boolean to setpublic void setRepeatTimes(Vector repeatTimes) throws SdpException
setRepeatTimes in interface TimeDescriptionrepeatTimes - Vector to setSdpException - if the parameter is nullpublic void addRepeatField(RepeatField repeatField)
repeatField - --
repeat field to add.Copyright © 2014. All Rights Reserved.