public final class Version
extends java.lang.Object
The release date is contained in various central classes, and there is also
a packaging date in the jars. Running this classes main method
just forwards the action to de.caff.util.Utility#main(String[])
which prints out the jar build date and its own release date
as well as the release date of all classes found on the command line.
The sole purpose of this class is to make accessing the release date easier.
Now it is possible to extract the release data of xyz.jar
by running
the following command:
java -cp xyz.jar de.caff.Versioninstead of the more difficult to remember
java -cp xyz.jar de.caff.util.Utility
Obviously having a package-less class would make this even better, but polluting the common name space seemed too much for a bit of convenience.
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
See
ModuleVersionService for more info. |
public static void main(java.lang.String[] args)
ModuleVersionService
for more info.args
- complete class names like de.caff.util.Utility