|
Holger's Java API |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.antelmann.Version
public final class Version
The class Version provides versioning information for the Antelmann.com Java framework.
Note that this class requires access to the com/antelmann/properties file,
which is ultimately located through Settings.getResource(String).
Settings| Method Summary | |
|---|---|
static boolean |
checkForUpgrade()
checkForUpgrade() connects to the Internet to check for an available upgrade. |
static boolean |
checkJavaVersion()
checks whether the system environment (here: java.version from your system properties) is sufficient for the classes of this package to run properly |
static String |
getApplicationName()
returns Settings.getProperty("application.name") |
static Date |
getBuildDate()
|
static long |
getBuildNumber()
getBuildNumber() returns the build number that denotes the exact minor version of this package. |
static String |
getLicenseText()
retrieves the license from a file distributed with the antelmann.jar file |
static URL |
getOnlineJarFile()
|
static String |
getReleaseVersion()
denotes the major version of this package release |
static String |
getVersionString()
returns a String containing version information about this package |
static void |
main(String[] args)
prints out version information |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String getVersionString()
getBuildNumber()public static boolean checkJavaVersion()
public static String getApplicationName()
Settings.getProperty("application.name")
public static long getBuildNumber()
public static Date getBuildDate()
public static boolean checkForUpgrade()
throws IOException
IOException - if a connection could not be established to upgrade server
public static URL getOnlineJarFile()
throws MalformedURLException
MalformedURLExceptionpublic static String getReleaseVersion()
getVersionString()public static String getLicenseText()
public static void main(String[] args)
getVersionString()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||