Class VersionUtil
java.lang.Object
VersionUtil
Utility to surface project version information.
Reads the
/version.properties file from the classpath and exposes
the getVersion() helper. If the file cannot be read, returns
"unknown".-
Method Summary
-
Method Details
-
getVersion
Returns the version of the application.This method provides access to the version information that was loaded from the properties file. If the properties file could not be found or an error occurred, it returns "unknown".
- Returns:
- The version of the application.
-