public class ProtocolMetaData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION |
Constructor and Description |
---|
ProtocolMetaData() |
ProtocolMetaData(java.lang.String version) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId() |
int |
getMajor() |
int |
getMinor() |
java.lang.String |
getSpec() |
java.lang.String |
getVersion() |
boolean |
isAtLeast(int major,
int minor) |
void |
readExternal(java.io.InputStream in) |
void |
writeExternal(java.io.OutputStream out) |
public static final java.lang.String VERSION
public ProtocolMetaData()
public ProtocolMetaData(java.lang.String version)
public boolean isAtLeast(int major, int minor)
public java.lang.String getId()
public int getMajor()
public int getMinor()
public java.lang.String getVersion()
public java.lang.String getSpec()
public void writeExternal(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public void readExternal(java.io.InputStream in) throws java.io.IOException
java.io.IOException