org.opensaml
Class Version

java.lang.Object
  extended by org.opensaml.Version

public final class Version
extends Object

Class for printing the version of this library.


Field Summary
private static int MAJOR_VERSION
          Library major version number.
private static int MICRO_VERSION
          Library micro version number.
private static int MINOR_VERSION
          Library minor version number.
private static String NAME
          Name of the library.
private static String VERSION
          Library version.
 
Constructor Summary
private Version()
          Constructor.
 
Method Summary
static int getMajorVersion()
          Gets the major version number of the library.
static int getMicroVersion()
          Gets the micro version number of the library.
static int getMinorVersion()
          Gets the minor version number of the library.
static String getName()
          Gets the name of the library.
static String getVersion()
          Gets the version of the library.
static void main(String[] args)
          Main entry point to program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

private static final String NAME
Name of the library.


VERSION

private static final String VERSION
Library version.


MAJOR_VERSION

private static final int MAJOR_VERSION
Library major version number.


MINOR_VERSION

private static final int MINOR_VERSION
Library minor version number.


MICRO_VERSION

private static final int MICRO_VERSION
Library micro version number.

Constructor Detail

Version

private Version()
Constructor.

Method Detail

main

public static void main(String[] args)
Main entry point to program.

Parameters:
args - command line arguments

getName

public static String getName()
Gets the name of the library.

Returns:
name of the library

getVersion

public static String getVersion()
Gets the version of the library.

Returns:
version of the library

getMajorVersion

public static int getMajorVersion()
Gets the major version number of the library.

Returns:
major version number of the library

getMinorVersion

public static int getMinorVersion()
Gets the minor version number of the library.

Returns:
minor version number of the library

getMicroVersion

public static int getMicroVersion()
Gets the micro version number of the library.

Returns:
micro version number of the library


Copyright © 1999-2013. All Rights Reserved.