Package org.correomqtt.business.utils
Class VersionUtils
- java.lang.Object
-
- org.correomqtt.business.utils.VersionUtils
-
public class VersionUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetVersion()static StringisNewerVersionAvailable()Check if a new version is available.
-
-
-
Method Detail
-
getVersion
public static String getVersion()
-
isNewerVersionAvailable
public static String isNewerVersionAvailable() throws IOException, org.json.simple.parser.ParseException
Check if a new version is available.- Returns:
- The name of the tag on github if a new version exists, null otherwise.
- Throws:
IOExceptionorg.json.simple.parser.ParseException
-
-