- compareTo
- parse
Static factory method that creates new ProtocolVersion instances.This method
parses its argument as
- getProtocolName
Returns the protocol name associated with this version string. If the entire
version string is dataf
- toString
Returns the string representation of this ProtocolVersion that was initially
parsed to create this P
- <init>
Primary constructor. Hidden; use #parse. Initializes the main fields. These are
boxed values to allo
- checkEquality
Returns true if both are null, or both are non-null and thing1.equals(thing2).
- getMajorVersion
Returns the major version (first digit) in this version. If the entire version
string is datafmt-1.2
- getMinorVersion
Returns the minor version (second digit) in this version. If the entire version
string is datafmt-1.
- getRevision
Returns the revision version (third digit) in this version. If the entire
version string is datafmt-
- toCanonicalString
Returns a string representation of this ProtocolVersion that includes any
optional trailing version