Class GitHubAPIv3

java.lang.Object
com.illusionaryone.GitHubAPIv3

public final class GitHubAPIv3 extends Object
  • Method Details

    • GetReleases

      public static JSONObject GetReleases() throws JSONException
      Throws:
      JSONException
    • GetLatestRelease

      public static JSONObject GetLatestRelease() throws JSONException
      Throws:
      JSONException
    • CompareVersions

      public static boolean CompareVersions(String left, String right)
      Compares version strings on the dot-notation integers only
      Parameters:
      left - Original/running version
      right - Remote/latest version
      Returns:
      false if right and left are valid version strings, and right is newer than left; else true
    • CheckNewRelease

      public static String[] CheckNewRelease() throws JSONException
      Throws:
      JSONException