|
TUM CCSM Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.tum.cs.commons.version.VersionUtils
public class VersionUtils
Utility code for dealing with versions.
| Constructor Summary | |
|---|---|
VersionUtils()
|
|
| Method Summary | |
|---|---|
static void |
checkForNewVersion(java.lang.String appName,
java.lang.String versionFileUrl,
Version runningVersion)
Checks whether a new version of an application is available. |
static Version |
getMostRecentVersion(java.lang.String versionFileUrl)
Get the most recent version from a file available via an URL. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VersionUtils()
| Method Detail |
|---|
public static void checkForNewVersion(java.lang.String appName,
java.lang.String versionFileUrl,
Version runningVersion)
getMostRecentVersion(String). If the version could be retrieved
and is more recent than the running version, an informative message box
appears (Swing).
public static Version getMostRecentVersion(java.lang.String versionFileUrl)
throws java.io.IOException,
FormatException
java.io.IOException
FormatException
|
TUM CCSM Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||