|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.Version
public final class Version
This class holds version information at compile time. Compiled at 2011.04.21 15:46 GMT on ${env.HOSTNAME} by fawkez.
| Field Summary | |
|---|---|
static String |
COMPILE_DATE
Name of the property holding the compile date (w/o time). |
static String |
COMPILE_TIME
Name of the property holding the compile time (w/o date). |
static String |
COPYRIGHT_YEAR
Name of the property holding the project's copyright year. |
static String |
PROJECT_NAME
Name of the property holding the project name. |
static String |
PROJECT_NAME_LOWERCASE
Name of the property holding the project name (lowercase). |
static String |
PROJECT_PACKAGE
Name of the property holding the project base Java package. |
static String |
RELEASE_VERSION
Release version number from VERSION file. |
| Constructor Summary | |
|---|---|
Version()
|
|
| Method Summary | |
|---|---|
static String |
getCompileDateString()
Returns the compile date (w/o time) as String. |
static String |
getCompileTimeString()
Returns the compile time (w/o date) as String. |
static String |
getCopyrightYear()
Returns the project's copyright year as String. |
static String |
getDescription()
|
static String |
getProjectName()
Returns the project name as String. |
static String |
getProjectNameLowerCase()
Returns the project name in lowercase as String. |
static Map |
getProperties()
Returns a unmodifiable Map <String, String>
of all compile time properties. |
static String |
getProperty(String key)
Returns the value of the named property. |
static String |
getReleaseVersion()
Returns the release version number as String. |
static void |
main(String[] args)
Dump the build version to System.out |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String RELEASE_VERSION
public static final String PROJECT_NAME
public static final String PROJECT_NAME_LOWERCASE
public static final String PROJECT_PACKAGE
public static final String COPYRIGHT_YEAR
public static final String COMPILE_DATE
public static final String COMPILE_TIME
| Constructor Detail |
|---|
public Version()
| Method Detail |
|---|
public static Map getProperties()
Map <String, String>
of all compile time properties.
Map <String, String>
of all compile time properties.public static String getReleaseVersion()
String.
String.public static String getProjectName()
String.
String.public static String getProjectNameLowerCase()
String.
String.public static String getCopyrightYear()
String.
String.public static String getCompileDateString()
String.
String.public static String getCompileTimeString()
String.
String.public static String getProperty(String key)
key - the property name.
public static String getDescription()
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||