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 TimeDescription
public void setTime(Time timeField) throws SdpException
setTime
in interface TimeDescription
timeField
- Time to setSdpException
- if the time is nullpublic Vector getRepeatTimes(boolean create)
getRepeatTimes
in interface TimeDescription
create
- boolean to setpublic void setRepeatTimes(Vector repeatTimes) throws SdpException
setRepeatTimes
in interface TimeDescription
repeatTimes
- Vector to setSdpException
- if the parameter is nullpublic void addRepeatField(RepeatField repeatField)
repeatField
- --
repeat field to add.Copyright © 2015. All Rights Reserved.