public class ProtoVersionField extends SDPField implements Version
| Modifier and Type | Field and Description |
|---|---|
protected int |
protoVersion |
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 |
|---|
ProtoVersionField() |
| Modifier and Type | Method and Description |
|---|---|
String |
encode()
Get the string encoded version of this object
|
int |
getProtoVersion() |
int |
getVersion()
Returns the version number.
|
void |
setProtoVersion(int pv)
Set the protoVersion member
|
void |
setVersion(int value)
Sets the version.
|
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, getTypeCharpublic int getProtoVersion()
public void setProtoVersion(int pv)
public int getVersion()
throws SdpParseException
getVersion in interface VersionSdpParseExceptionpublic void setVersion(int value)
throws SdpException
setVersion in interface Versionvalue - the - new version value.SdpException - if the value is <=0Copyright © 2014. All Rights Reserved.