|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectgov.nist.core.GenericObject
gov.nist.javax.sdp.fields.SDPObject
gov.nist.javax.sdp.fields.SDPField
gov.nist.javax.sdp.fields.MediaField
public class MediaField
Media field SDP header.
| フィールドの概要 |
|---|
| インタフェース 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 |
| コンストラクタの概要 | |
|---|---|
MediaField()
|
|
| メソッドの概要 | |
|---|---|
java.lang.String |
encode()
Get the string encoded version of this object |
java.util.Vector |
getFormats()
|
java.lang.String |
getMedia()
|
java.util.Vector |
getMediaFormats(boolean create)
Returns an Vector of the media formats supported by this description. |
int |
getMediaPort()
Returns the port of the media defined by this description |
java.lang.String |
getMediaType()
Returns the type (audio,video etc) of the media defined by this description. |
int |
getNports()
|
int |
getPort()
|
int |
getPortCount()
Returns the number of ports associated with this media description |
java.lang.String |
getProto()
|
java.lang.String |
getProtocol()
Returns the protocol over which this media should be transmitted. |
void |
setFormats(java.util.Vector formats)
Set the fmt member |
void |
setMedia(java.lang.String m)
Set the media member |
void |
setMediaFormats(java.util.Vector mediaFormats)
Adds a media format to the media description. |
void |
setMediaPort(int port)
Sets the port of the media defined by this description |
void |
setMediaType(java.lang.String mediaType)
Sets the type (audio,video etc) of the media defined by this description. |
void |
setNports(int n)
Set the nports member |
void |
setPort(int p)
Set the port member |
void |
setPortCount(int portCount)
Sets the number of ports associated with this media description. |
void |
setProto(java.lang.String p)
Set the proto member |
void |
setProtocol(java.lang.String protocol)
Sets the protocol over which this media should be transmitted. |
| クラス 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, toString, wait, wait, wait |
| インタフェース javax.sdp.Media から継承されたメソッド |
|---|
toString |
| インタフェース javax.sdp.Field から継承されたメソッド |
|---|
clone, getTypeChar |
| コンストラクタの詳細 |
|---|
public MediaField()
| メソッドの詳細 |
|---|
public java.lang.String getMedia()
public int getPort()
public int getNports()
public java.lang.String getProto()
public java.util.Vector getFormats()
public void setMedia(java.lang.String m)
public void setPort(int p)
public void setNports(int n)
public void setProto(java.lang.String p)
public void setFormats(java.util.Vector formats)
public java.lang.String getMediaType()
throws javax.sdp.SdpParseException
javax.sdp.Media 内の getMediaTypejavax.sdp.SdpParseException
public void setMediaType(java.lang.String mediaType)
throws javax.sdp.SdpException
javax.sdp.Media 内の setMediaTypemediaType - to set
javax.sdp.SdpException - if mediaType is null
public int getMediaPort()
throws javax.sdp.SdpParseException
javax.sdp.Media 内の getMediaPortjavax.sdp.SdpParseException
public void setMediaPort(int port)
throws javax.sdp.SdpException
javax.sdp.Media 内の setMediaPortport - to set
javax.sdp.SdpException
public int getPortCount()
throws javax.sdp.SdpParseException
javax.sdp.Media 内の getPortCountjavax.sdp.SdpParseException
public void setPortCount(int portCount)
throws javax.sdp.SdpException
javax.sdp.Media 内の setPortCountportCount - portCount - the integer port count.
javax.sdp.SdpException
public java.lang.String getProtocol()
throws javax.sdp.SdpParseException
javax.sdp.Media 内の getProtocoljavax.sdp.SdpParseException
public void setProtocol(java.lang.String protocol)
throws javax.sdp.SdpException
javax.sdp.Media 内の setProtocolprotocol - - the String protocol, e.g. RTP/AVP.
javax.sdp.SdpException - if the protocol is null
public java.util.Vector getMediaFormats(boolean create)
throws javax.sdp.SdpParseException
javax.sdp.Media 内の getMediaFormatscreate - to set
javax.sdp.SdpException
javax.sdp.SdpParseException
public void setMediaFormats(java.util.Vector mediaFormats)
throws javax.sdp.SdpException
javax.sdp.Media 内の setMediaFormatsmediaFormats - the format to add.
javax.sdp.SdpException - if the vector is nullpublic java.lang.String encode()
SDPField 内の encode
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||