public class GetVer extends java.lang.Object
getVersion().
Note: this class is likely to be used in contexts where we don't
have logging set up, so System.err and System.out are used.
| Constructor and Description |
|---|
GetVer() |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getResourceAsStream(java.lang.String name)
Open for reading, a resource of the specified name from the search path
used to load classes.
|
static java.lang.String |
getVersion()
Extracts and returns McIDAS-V version information.
|
static void |
main(java.lang.String[] args)
The main.
|
public GetVer()
public java.io.InputStream getResourceAsStream(java.lang.String name)
name - Resource to read.InputStream for reading the resource given by
name, or null.public static java.lang.String getVersion() throws java.lang.Exception
String formatted like
"McIDAS-V version VERSIONHERE built BUILDDATEHERE".java.lang.Exception - if build.properties could not be loaded into
a Properties object.public static void main(java.lang.String[] args)
args - Ignored.