public class ProtocolMetaData extends Object
| Constructor and Description |
|---|
ProtocolMetaData() |
ProtocolMetaData(String version) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
int |
getMajor() |
int |
getMinor() |
String |
getSpec() |
String |
getVersion() |
boolean |
isAtLeast(int major,
int minor) |
void |
readExternal(InputStream in) |
void |
writeExternal(OutputStream out) |
public static final String VERSION
public ProtocolMetaData()
public ProtocolMetaData(String version)
public boolean isAtLeast(int major,
int minor)
public String getId()
public int getMajor()
public int getMinor()
public String getVersion()
public String getSpec()
public void writeExternal(OutputStream out) throws IOException
IOExceptionpublic void readExternal(InputStream in) throws IOException
IOExceptionCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.