gov.nist.javax.sdp.fields
クラス BandwidthField

java.lang.Object
  上位を拡張 gov.nist.core.GenericObject
      上位を拡張 gov.nist.javax.sdp.fields.SDPObject
          上位を拡張 gov.nist.javax.sdp.fields.SDPField
              上位を拡張 gov.nist.javax.sdp.fields.BandwidthField
すべての実装されたインタフェース:
SDPFieldNames, java.io.Serializable, java.lang.Cloneable, javax.sdp.BandWidth, javax.sdp.Field

public class BandwidthField
extends SDPField
implements javax.sdp.BandWidth

Bandwidth field of a SDP header.

バージョン:
JSR141-PUBLIC-REVIEW (Subject to change)
作成者:
Olivier Deruelle , M. Ranganathan
This code is in the public domain.
関連項目:
直列化された形式

フィールドの概要
 
インタフェース javax.sdp.BandWidth から継承されたフィールド
AS, CT
 
インタフェース 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
 
コンストラクタの概要
BandwidthField()
           
 
メソッドの概要
 java.lang.String encode()
          Get the string encoded version of this object
 int getBandwidth()
           
 java.lang.String getBwtype()
           
 java.lang.String getType()
          Returns the bandwidth type.
 int getValue()
          Returns the bandwidth value measured in kilobits per second.
 void setBandwidth(int b)
          Set the bandwidth member
 void setBwtype(java.lang.String b)
          Set the bwtype member
 void setType(java.lang.String type)
          Sets the bandwidth type.
 void setValue(int value)
          Sets the bandwidth 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
 

コンストラクタの詳細

BandwidthField

public BandwidthField()
メソッドの詳細

getBwtype

public java.lang.String getBwtype()

getBandwidth

public int getBandwidth()

setBwtype

public void setBwtype(java.lang.String b)
Set the bwtype member


setBandwidth

public void setBandwidth(int b)
Set the bandwidth member


encode

public java.lang.String encode()
Get the string encoded version of this object

定義:
クラス SDPField 内の encode
導入されたバージョン:
v1.0

getType

public java.lang.String getType()
                         throws javax.sdp.SdpParseException
Returns the bandwidth type.

定義:
インタフェース javax.sdp.BandWidth 内の getType
戻り値:
type
例外:
javax.sdp.SdpParseException

setType

public void setType(java.lang.String type)
             throws javax.sdp.SdpException
Sets the bandwidth type.

定義:
インタフェース javax.sdp.BandWidth 内の setType
パラメータ:
type - to set
例外:
javax.sdp.SdpException - if the type is null

getValue

public int getValue()
             throws javax.sdp.SdpParseException
Returns the bandwidth value measured in kilobits per second.

定義:
インタフェース javax.sdp.BandWidth 内の getValue
戻り値:
the bandwidth value
例外:
javax.sdp.SdpParseException

setValue

public void setValue(int value)
              throws javax.sdp.SdpException
Sets the bandwidth value.

定義:
インタフェース javax.sdp.BandWidth 内の setValue
パラメータ:
value - to set
例外:
javax.sdp.SdpException