edu.wisc.ssec.mcidasv.util
Class GetVer

java.lang.Object
  extended by edu.wisc.ssec.mcidasv.util.GetVer

public class GetVer
extends Object

This class is really just a wrapper around getVersion().


Constructor Summary
GetVer()
           
 
Method Summary
 InputStream getResourceAsStream(String name)
          Open for reading, a resource of the specified name from the search path used to load classes.
static String getVersion()
          Extracts and returns McIDAS-V version information.
static void main(String[] args)
          The main.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetVer

public GetVer()
Method Detail

getResourceAsStream

public InputStream getResourceAsStream(String name)
Open for reading, a resource of the specified name from the search path used to load classes. This method locates the resource through the system class loader.

Parameters:
name - Resource to read.
Returns:
An InputStream for reading the resource given by name, or null.

getVersion

public static String getVersion()
                         throws Exception
Extracts and returns McIDAS-V version information.

Returns:
String formatted like "McIDAS-V version VERSIONHERE built BUILDDATEHERE".
Throws:
Exception

main

public static void main(String[] args)
The main. Get McIDAS-V version and build data and print it out.

Parameters:
args - Ignored.