org.grinvin.about
Class VersionInfo
java.lang.Object
org.grinvin.about.VersionInfo
public class VersionInfo
extends java.lang.Object
Contains simple versioning info for a single module of GrInvIn.
getBuild
public String getBuild()
Date string for the build.
getName
public String getName()
Name of the module. E.g., core
,
factories
, ...
getRevision
public String getRevision()
Revision number (from subversion). E.g. 1745M
getVersion
public String getVersion()
Version number. E.g. 1.0.3
loadVersionInfo
public static VersionInfo loadVersionInfo(String name)
Load version info from the corresponding properties file. Returns null
when the file is not found and hence presumably the module is not in
the class path.
name
- Name of the module for which the information must be loaded.