Class VersionUtils

java.lang.Object
org.correomqtt.business.utils.VersionUtils

public class VersionUtils
extends Object
  • Method Details

    • 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:
      IOException
      org.json.simple.parser.ParseException