|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.clapper.curn.Version
public final class Version
Contains the software version for the org.clapper.util library. Also contains a main program which, invoked, displays the name of the API and the version on standard output.
| Field Summary | |
|---|---|
static java.lang.String |
BUILD_INFO_BUNDLE_NAME
The name of the resource bundle containing the build info. |
static java.lang.String |
VERSION_BUNDLE_NAME
This class's bundle |
| Method Summary | |
|---|---|
static java.lang.String |
getBuildID()
Get the build ID. |
static org.clapper.util.misc.BuildInfo |
getBuildInfo()
Get the BuildInfo object that holds the build information data. |
static java.lang.String |
getCopyright()
Get the copyright. |
static java.lang.String |
getFullVersion()
Get the full program version string, which contains the program name, the version number and the build ID string. |
static java.lang.String |
getFullVersion(java.util.Locale locale)
Get the full program version string, which contains the program name, the version number and the build ID string. |
static java.lang.String |
getUtilityName()
Get curn's official name, for display purposes. |
static java.lang.String |
getVersionNumber()
Get just the version number string. |
static java.lang.String |
getWebSite()
Get the web site where curn can be found. |
static void |
showBuildInfo()
Display build information to standard output. |
static void |
showBuildInfo(java.io.PrintStream out)
Display build information to the specified PrintStream. |
static void |
showBuildInfo(java.io.PrintWriter out)
Display build information to the specified PrintWriter. |
static void |
showVersion()
Display version information only to standard output. |
static void |
showVersion(java.io.PrintStream out)
Display version information to the specified PrintStream. |
static void |
showVersion(java.io.PrintWriter out)
Display version information to the specified PrintWriter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BUILD_INFO_BUNDLE_NAME
public static final java.lang.String VERSION_BUNDLE_NAME
| Method Detail |
|---|
public static java.lang.String getVersionNumber()
getFullVersion(java.util.Locale)public static java.lang.String getUtilityName()
public static java.lang.String getWebSite()
public static java.lang.String getCopyright()
public static java.lang.String getFullVersion(java.util.Locale locale)
showVersion() method displays.
locale - the locale to use, or null for the default
showVersion(),
showVersion(PrintWriter),
showVersion(PrintStream),
getVersionNumber()public static java.lang.String getFullVersion()
showVersion() method displays. This method assumes
the default locale.
showVersion(),
showVersion(PrintWriter),
showVersion(PrintStream),
getVersionNumber()public static java.lang.String getBuildID()
getBuildInfo().getBuildID();
getBuildInfo()public static void showVersion()
showVersion(PrintWriter),
showVersion(PrintStream)public static void showVersion(java.io.PrintWriter out)
out - where to write the version stringshowVersion(),
showVersion(PrintStream)public static void showVersion(java.io.PrintStream out)
out - where to write the version stringshowVersion(),
showVersion(PrintWriter)public static void showBuildInfo()
showBuildInfo(PrintWriter),
showBuildInfo(PrintStream),
getBuildInfo()public static void showBuildInfo(java.io.PrintStream out)
out - where to write the build informationshowBuildInfo(),
showBuildInfo(PrintWriter),
getBuildInfo()public static void showBuildInfo(java.io.PrintWriter out)
out - where to write the build informationshowBuildInfo(),
showBuildInfo(PrintStream),
getBuildInfo()public static org.clapper.util.misc.BuildInfo getBuildInfo()
showBuildInfo(),
showBuildInfo(PrintStream),
showBuildInfo(PrintWriter)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||