|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectgov.nist.javax.sdp.MediaDescriptionImpl
public class MediaDescriptionImpl
Fieldementation of Media Description interface.
| コンストラクタの概要 | |
|---|---|
MediaDescriptionImpl()
|
|
| メソッドの概要 | |
|---|---|
void |
addBandwidthField(BandwidthField b)
Set the bandwidthField member |
void |
addDynamicPayloads(java.util.Vector payloadNames,
java.util.Vector payloadValues)
Adds dynamic media types to the description. |
java.lang.String |
encode()
Encode to a canonical form. |
java.lang.String |
getAttribute(java.lang.String name)
Returns the value of the specified attribute. |
java.util.Vector |
getAttributeFields()
|
java.util.Vector |
getAttributes(boolean create)
Returns the set of attributes for this Description as a Vector of Attribute objects in the order they were parsed. |
int |
getBandwidth(java.lang.String name)
Returns the integer value of the specified bandwidth name. |
java.util.Vector |
getBandwidths(boolean create)
Returns the Bandwidth of the specified type. |
javax.sdp.Connection |
getConnection()
Returns the connection information associated with this object. |
ConnectionField |
getConnectionField()
|
javax.sdp.Info |
getInfo()
Returns value of the info field (i=) of this object. |
InformationField |
getInformationField()
|
javax.sdp.Key |
getKey()
Returns the key data. |
KeyField |
getKeyField()
|
javax.sdp.Media |
getMedia()
Return the Media field of the description. |
MediaField |
getMediaField()
|
java.util.Vector |
getMimeParameters()
Returns a Vector containing a string of parameters for each of the codecs in this description. |
java.util.Vector |
getMimeTypes()
Returns a Vector containing a string indicating the MIME type for each of the codecs in this description. |
void |
removeAttribute(java.lang.String name)
Removes the attribute specified by the value parameter. |
void |
removeBandwidth(java.lang.String name)
Removes the specified bandwidth type. |
void |
setAttribute(java.lang.String name,
java.lang.String value)
Sets the value of the specified attribute |
void |
setAttributeFields(java.util.Vector a)
Set the attributeFields member |
void |
setAttributes(java.util.Vector attributes)
Adds the specified Attribute to this Description object. |
void |
setBandwidth(java.lang.String name,
int value)
Sets the value of the specified bandwidth type. |
void |
setBandwidths(java.util.Vector bandwidths)
set the value of the Bandwidth with the specified type |
void |
setConnection(javax.sdp.Connection conn)
Set the connection data for this entity |
void |
setConnectionField(ConnectionField c)
Set the connectionField member |
void |
setInfo(javax.sdp.Info i)
Sets the i= field of this object. |
void |
setInformationField(InformationField i)
Set the informationField member |
void |
setKey(javax.sdp.Key key)
Sets encryption key information. |
void |
setKeyField(KeyField k)
Set the keyField member |
void |
setMedia(javax.sdp.Media media)
Set the Media field of the description. |
void |
setMediaField(MediaField m)
Set the mediaField member |
java.lang.String |
toString()
|
| クラス java.lang.Object から継承されたメソッド |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public MediaDescriptionImpl()
| メソッドの詳細 |
|---|
public java.lang.String encode()
public java.lang.String toString()
java.lang.Object 内の toStringpublic MediaField getMediaField()
public InformationField getInformationField()
public ConnectionField getConnectionField()
public KeyField getKeyField()
public java.util.Vector getAttributeFields()
public void setMediaField(MediaField m)
public void setInformationField(InformationField i)
public void setConnectionField(ConnectionField c)
public void addBandwidthField(BandwidthField b)
public void setKeyField(KeyField k)
public void setAttributeFields(java.util.Vector a)
public javax.sdp.Media getMedia()
javax.sdp.MediaDescription 内の getMedia
public void setMedia(javax.sdp.Media media)
throws javax.sdp.SdpException
javax.sdp.MediaDescription 内の setMediamedia - to set
javax.sdp.SdpException - if the media field is nullpublic javax.sdp.Info getInfo()
javax.sdp.MediaDescription 内の getInfo
public void setInfo(javax.sdp.Info i)
throws javax.sdp.SdpException
javax.sdp.MediaDescription 内の setInfoi - to set
javax.sdp.SdpException - if the info is nullpublic javax.sdp.Connection getConnection()
javax.sdp.MediaDescription 内の getConnection
public void setConnection(javax.sdp.Connection conn)
throws javax.sdp.SdpException
javax.sdp.MediaDescription 内の setConnectionconn - to set
javax.sdp.SdpException - if the connexion is nullpublic java.util.Vector getBandwidths(boolean create)
javax.sdp.MediaDescription 内の getBandwidthscreate - type of the Bandwidth to return
public void setBandwidths(java.util.Vector bandwidths)
throws javax.sdp.SdpException
javax.sdp.MediaDescription 内の setBandwidthsbandwidths - type of the Bandwidth object whose value is requested
javax.sdp.SdpException - if vector is null
public int getBandwidth(java.lang.String name)
throws javax.sdp.SdpParseException
javax.sdp.MediaDescription 内の getBandwidthname - the name of the bandwidth type.
javax.sdp.SdpParseException
public void setBandwidth(java.lang.String name,
int value)
throws javax.sdp.SdpException
javax.sdp.MediaDescription 内の setBandwidthname - the name of the bandwidth type.value - the value of the named bandwidth type.
javax.sdp.SdpException - if the name is nullpublic void removeBandwidth(java.lang.String name)
javax.sdp.MediaDescription 内の removeBandwidthname - the name of the bandwidth type.public javax.sdp.Key getKey()
javax.sdp.MediaDescription 内の getKey
public void setKey(javax.sdp.Key key)
throws javax.sdp.SdpException
javax.sdp.MediaDescription 内の setKeykey - the encryption key data; depending on method may be null
javax.sdp.SdpException - if the key is nullpublic java.util.Vector getAttributes(boolean create)
javax.sdp.MediaDescription 内の getAttributescreate - specifies whether to return null or a
new empty Vector in case
no attributes exists for this Description
public void setAttributes(java.util.Vector attributes)
throws javax.sdp.SdpException
javax.sdp.MediaDescription 内の setAttributesAttributes - the attribute to add
javax.sdp.SdpException - if the attributes is null
public java.lang.String getAttribute(java.lang.String name)
throws javax.sdp.SdpParseException
javax.sdp.MediaDescription 内の getAttributename - the name of the attribute.
javax.sdp.SdpParseException
public void setAttribute(java.lang.String name,
java.lang.String value)
throws javax.sdp.SdpException
javax.sdp.MediaDescription 内の setAttributename - the name of the attribute.value - the value of the named attribute.
javax.sdp.SdpException - if the parameters are nullpublic void removeAttribute(java.lang.String name)
javax.sdp.MediaDescription 内の removeAttributename - the name of the attribute.
public java.util.Vector getMimeTypes()
throws javax.sdp.SdpException
javax.sdp.MediaDescription 内の getMimeTypesjavax.sdp.SdpException - if there is a problem extracting the parameters.
public java.util.Vector getMimeParameters()
throws javax.sdp.SdpException
javax.sdp.MediaDescription 内の getMimeParametersjavax.sdp.SdpException - if there is a problem extracting the parameters.
public void addDynamicPayloads(java.util.Vector payloadNames,
java.util.Vector payloadValues)
throws javax.sdp.SdpException
javax.sdp.MediaDescription 内の addDynamicPayloadspayloadNames - a Vector of String - each one the name of a dynamic payload
to be added (usually an integer larger
than SdpConstants.AVP_DYNAMIC_MIN).payloadValues - a Vector of String - each contains the value describing
the correlated dynamic payloads to be added
javax.sdp.SdpException - if either vector is null or empty.
if the vector sizes are unequal.
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||