org.clapper.util.misc
Class VersionBase
- java.lang.Object
-
- org.clapper.util.misc.VersionBase
-
- Direct Known Subclasses:
- Version
public abstract class VersionBase extends java.lang.ObjectBase class for classes that want to access and display version information that's stored in a resource bundle generated byBuildInfo.makeBuildInfoBundle()as well as a static resource bundle containing non-build related strings.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetApplicationName()Get the application name.java.lang.StringgetCopyright()Get the copyright string.java.lang.StringgetVersion()Get the version number.java.lang.StringgetVersionDisplay()Get the multiline version output.
-
-
-
Method Detail
-
getVersion
public java.lang.String getVersion()
Get the version number.- Returns:
- the version number
-
getCopyright
public java.lang.String getCopyright()
Get the copyright string.- Returns:
- the copyright string.
-
getApplicationName
public java.lang.String getApplicationName()
Get the application name.- Returns:
- the application name
-
getVersionDisplay
public java.lang.String getVersionDisplay()
Get the multiline version output. The returned string will have embedded newlines, but no trailing newline.- Returns:
- the multiline version output.
-
-
DMelt 3.0 © DataMelt by jWork.ORG