|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgov.nist.core.GenericObject
gov.nist.javax.sdp.fields.SDPObject
gov.nist.javax.sdp.fields.SDPField
gov.nist.javax.sdp.fields.RepeatField
public class RepeatField
Repeat SDP Field (part of the time field).
フィールドの概要 |
---|
インタフェース gov.nist.javax.sdp.fields.SDPFieldNames から継承されたフィールド |
---|
ATTRIBUTE_FIELD, BANDWIDTH_FIELD, CONNECTION_FIELD, EMAIL_FIELD, INFORMATION_FIELD, KEY_FIELD, MEDIA_FIELD, ORIGIN_FIELD, PHONE_FIELD, PROTO_VERSION_FIELD, REPEAT_FIELD, SESSION_NAME_FIELD, TIME_FIELD, URI_FIELD, ZONE_FIELD |
コンストラクタの概要 | |
---|---|
RepeatField()
|
メソッドの概要 | |
---|---|
void |
addOffset(TypedTime offset)
|
java.lang.String |
encode()
Get the string encoded version of this object |
int |
getActiveDuration()
Returns the "active duration" in seconds. |
int[] |
getOffsetArray()
Returns the list of offsets. |
java.util.LinkedList |
getOffsets()
|
int |
getRepeatInterval()
Returns the "repeat interval" in seconds. |
boolean |
getTypedTime()
Returns whether the field will be output as a typed time or a integer value. |
void |
setActiveDuration(int activeDuration)
Sets the "active duration" in seconds. |
void |
setActiveDuration(TypedTime duration)
|
void |
setOffsetArray(int[] offsets)
Set the list of offsets. |
void |
setRepeatInterval(int repeatInterval)
Set the "repeat interval" in seconds. |
void |
setRepeatInterval(TypedTime interval)
|
void |
setTypedTime(boolean typedTime)
Sets whether the field will be output as a typed time or a integer value. |
クラス gov.nist.javax.sdp.fields.SDPField から継承されたメソッド |
---|
getFieldName, getTypeChar, toString |
クラス gov.nist.javax.sdp.fields.SDPObject から継承されたメソッド |
---|
clone, dbgPrint, debugDump, equals, match, merge, replace, replace, replace, replace |
クラス gov.nist.core.GenericObject から継承されたメソッド |
---|
debugDump, getClassFromName, getMatcher, isMySubclass, setMatcher |
クラス java.lang.Object から継承されたメソッド |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
インタフェース javax.sdp.Field から継承されたメソッド |
---|
clone, getTypeChar |
コンストラクタの詳細 |
---|
public RepeatField()
メソッドの詳細 |
---|
public void setRepeatInterval(TypedTime interval)
public void setActiveDuration(TypedTime duration)
public void addOffset(TypedTime offset)
public java.util.LinkedList getOffsets()
public int getRepeatInterval() throws javax.sdp.SdpParseException
javax.sdp.RepeatTime
内の getRepeatInterval
javax.sdp.SdpParseException
public void setRepeatInterval(int repeatInterval) throws javax.sdp.SdpException
javax.sdp.RepeatTime
内の setRepeatInterval
repeatInterval
- the "repeat interval" in seconds.
javax.sdp.SdpException
- if repeatInterval is <0public int getActiveDuration() throws javax.sdp.SdpParseException
javax.sdp.RepeatTime
内の getActiveDuration
javax.sdp.SdpParseException
public void setActiveDuration(int activeDuration) throws javax.sdp.SdpException
javax.sdp.RepeatTime
内の setActiveDuration
activeDuration
- the "active duration" in seconds.
javax.sdp.SdpException
- if the active duration is <0public int[] getOffsetArray() throws javax.sdp.SdpParseException
javax.sdp.RepeatTime
内の getOffsetArray
javax.sdp.SdpParseException
public void setOffsetArray(int[] offsets) throws javax.sdp.SdpException
javax.sdp.RepeatTime
内の setOffsetArray
offsets
- array of repeat time offsets
javax.sdp.SdpException
public boolean getTypedTime() throws javax.sdp.SdpParseException
javax.sdp.RepeatTime
内の getTypedTime
javax.sdp.SdpParseException
public void setTypedTime(boolean typedTime)
javax.sdp.RepeatTime
内の setTypedTime
typedTime
- typedTime - if set true, the start and stop times will be output in an optimal typed
time format; if false, the times will be output as integers.public java.lang.String encode()
GenericObject
の記述:
SDPField
内の encode
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |