org.jgroups

Class Version

public class Version extends Object

Holds version information for JGroups.
Field Summary
static Stringcvs
static Stringdescription
static shortversion
Method Summary
static booleancompareTo(short v)
Compares the specified version number against the current version number.
static voidmain(String[] args)
Prints the value of the description and cvs fields to System.out.
static StringprintDescription()
Returns the catenation of the description and cvs fields.
static StringprintVersion()
Returns the version field as a String.

Field Detail

cvs

public static final String cvs

description

public static final String description

version

public static final short version

Method Detail

compareTo

public static boolean compareTo(short v)
Compares the specified version number against the current version number.

Parameters: v short

Returns: Result of == operator.

main

public static void main(String[] args)
Prints the value of the description and cvs fields to System.out.

Parameters: args

printDescription

public static String printDescription()
Returns the catenation of the description and cvs fields.

Returns: String with description

printVersion

public static String printVersion()
Returns the version field as a String.

Returns: String with version

Copyright ? 1998-2005 Bela Ban. All Rights Reserved.