Package VASSAL.tools.version
Class VersionUtils
java.lang.Object
VASSAL.tools.version.VersionUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
compareReportable
(String version) static int
compareVersions
(String v0, String v1) Compares version strings.static boolean
static Boolean
isUpdateable
(String runningVersion) Deprecated, for removal: This API element is subject to removal in a future version.Use !static String
static void
static String
static String
-
Constructor Details
-
VersionUtils
protected VersionUtils()
-
-
Method Details
-
setVersionInfo
-
compareReportable
- Throws:
IOException
-
isCurrent
- Throws:
IOException
-
isUpdateable
@Deprecated(since="2021-04-15", forRemoval=true) public static Boolean isUpdateable(String runningVersion) throws IOException Deprecated, for removal: This API element is subject to removal in a future version.Use !isCurrent(java.lang.String)
instead- Throws:
IOException
-
compareVersions
-
nextMinorVersion
-
truncateToMinorVersion
-
truncateToIncrementalVersion
-