Package org.correomqtt.business.utils
Class VersionUtils
java.lang.Object
org.correomqtt.business.utils.VersionUtils
public class VersionUtils extends Object
-
Method Summary
Modifier and Type Method Description static StringgetVersion()static StringisNewerVersionAvailable()Check if a new version is available.
-
Method Details
-
getVersion
-
isNewerVersionAvailable
public static String isNewerVersionAvailable() throws IOException, org.json.simple.parser.ParseExceptionCheck 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
-