public class BandwidthField extends SDPField implements BandWidth
| Modifier and Type | Field and Description |
|---|---|
protected int |
bandwidth |
protected String |
bwtype |
CORE_PACKAGE, SDPFIELDS_PACKAGEAND, AT, COLON, COMMA, DOT, DOUBLE_QUOTE, EQUALS, GREATER_THAN, HT, immutableClasses, indentation, LESS_THAN, LPAREN, matchExpression, NEWLINE, PERCENT, POUND, QUESTION, QUOTE, RETURN, RPAREN, SEMICOLON, SLASH, SP, STAR, stringRepresentationATTRIBUTE_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| Constructor and Description |
|---|
BandwidthField() |
| Modifier and Type | Method and Description |
|---|---|
String |
encode()
Get the string encoded version of this object
|
int |
getBandwidth() |
String |
getBwtype() |
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(String b)
Set the bwtype member
|
void |
setType(String type)
Sets the bandwidth type.
|
void |
setValue(int value)
Sets the bandwidth value.
|
getFieldName, getTypeChar, toStringdbgPrint, debugDump, equals, getStringRepresentation, initSprint, match, sprintclone, dbgPrint, dbgPrint, debugDump, encode, getClassFromName, getIndentation, getMatcher, isMySubclass, makeClone, merge, setMatcher, sprint, sprint, sprint, sprint, sprint, sprint, sprint, sprintfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclone, getTypeCharprotected String bwtype
protected int bandwidth
public String getBwtype()
public int getBandwidth()
public void setBwtype(String b)
public void setBandwidth(int b)
public String encode()
public String getType() throws SdpParseException
getType in interface BandWidthSdpParseExceptionpublic void setType(String type) throws SdpException
setType in interface BandWidthtype - to setSdpException - if the type is nullpublic int getValue()
throws SdpParseException
getValue in interface BandWidthSdpParseExceptionpublic void setValue(int value)
throws SdpException
setValue in interface BandWidthvalue - to setSdpExceptionCopyright © 2014. All Rights Reserved.