public class SADVersion extends Object
Modifier and Type | Field and Description |
---|---|
static SADVersion |
VERSION_10
SAD version 1.0.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getMajorVersion()
Gets the major version of the SAD version.
|
int |
getMinorVersion()
Gets the minor version of the SAD version.
|
String |
toString() |
static SADVersion |
valueOf(int majorVersion,
int minorVersion)
Gets the SADVersion given the major and minor version number.
|
static SADVersion |
valueOf(String version)
Gets the SADVersion for a given version string, such as "1.0".
|
public static final SADVersion VERSION_10
public static SADVersion valueOf(int majorVersion, int minorVersion)
majorVersion
- major version numberminorVersion
- minor version numberpublic static SADVersion valueOf(String version)
version
- SAD version stringpublic int getMajorVersion()
public int getMinorVersion()
Copyright © 2018 Litsec AB. All rights reserved.