Checks if a new release of iDynomics is available. More...
Static Public Member Functions | |
static String | getLatestVersion () throws Exception |
Gets the content of url.html - the latest released version number. More... | |
static String | getWhatsNew () throws Exception |
Returns the text detailing what is new about this version, for display in the user info screen. More... | |
static void | main (String[] args) |
Test stub for testing the methods that get the version number and new release details. More... | |
Checks if a new release of iDynomics is available.
This class contains methods that check whether there is a new version of iDynomics available. This is done by checking the content of a file, version.html, that resides in the iDynomics repository. If there is an update available, a further file is downloaded, history.html, that contains a detailed description of the changes made in the update.
|
static |
Gets the content of url.html - the latest released version number.
Returns the latest release version number by retrieving the content of the url.html file specified by the versionURL parameter. This is used to determine if an update is required
Exception | Exception generated if this web address cannot be found |
|
static |
Returns the text detailing what is new about this version, for display in the user info screen.
This method returns the content of the file history.html, specified by the parameter versionChanges. This is then displayed to the user when they are asked whether they wish to perform an update or not
Exception | Exception generated if this web address cannot be found |
|
static |
Test stub for testing the methods that get the version number and new release details.
Test stub for testing the methods that get the version number and new release details
args | Arguments passed to the test stub - none required in this case |