Package com.illusionaryone
Class GitHubAPIv3
java.lang.Object
com.illusionaryone.GitHubAPIv3
-
Method Summary
Modifier and TypeMethodDescriptionstatic String[]
static boolean
CompareVersions
(String left, String right) Compares version strings on the dot-notation integers onlystatic JSONObject
static JSONObject
-
Method Details
-
GetReleases
- Throws:
JSONException
-
GetLatestRelease
- Throws:
JSONException
-
CompareVersions
Compares version strings on the dot-notation integers only- Parameters:
left
- Original/running versionright
- Remote/latest version- Returns:
false
if right and left are valid version strings, and right is newer than left; elsetrue
-
CheckNewRelease
- Throws:
JSONException
-