|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.core.Version
public class Version
Get information about the BASE version.
The version information is stored in the base.version
file.
Field Summary | |
---|---|
private static int |
build
|
private static String |
maintenance
|
private static String |
major
|
private static String |
minor
|
Constructor Summary | |
---|---|
Version()
|
Method Summary | |
---|---|
static int |
getBuild()
Get the build version. |
static String |
getMaintenance()
Get the maintentance version. |
static String |
getMajor()
Get the major version. |
static String |
getMinor()
Get the minor version. |
static String |
getVersion()
|
(package private) static void |
init()
Loads the settings from the configuration file. |
private static int |
parseBuildNumber(String buildNumber)
Find the first digits in a string and return those as the build number. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static String major
private static String minor
private static String maintenance
private static int build
Constructor Detail |
---|
public Version()
Method Detail |
---|
static void init() throws ConfigurationException
ConfigurationException
- This exception is thrown if the
configuration settings cannot be loadedpublic static String getMajor()
public static String getMinor()
public static String getMaintenance()
public static int getBuild()
public static String getVersion()
private static int parseBuildNumber(String buildNumber)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |