public static class FileHeader.Version
extends java.lang.Object
Constructor and Description |
---|
Version(int v) |
Version(java.lang.String verstr)
Create a version instance from a version string.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
int |
getMajor() |
int |
getMinor() |
static FileHeader.Version |
read(CDataReadWriteAccess in) |
java.lang.String |
toString()
Creates string from major and minor number.
|
void |
write(CDataReadWriteAccess io) |
public Version(int v)
public Version(java.lang.String verstr) throws java.lang.NumberFormatException
verstr
- java.lang.NumberFormatException
- on any format violationpublic java.lang.String toString()
toString
in class java.lang.Object
public static FileHeader.Version read(CDataReadWriteAccess in) throws java.io.IOException
java.io.IOException
public void write(CDataReadWriteAccess io) throws java.io.IOException
java.io.IOException
public int getCode()
public int getMajor()
public int getMinor()