org.jgroups

Class Version


public class Version
extends java.lang.Object

Holds version information for JGroups.

Field Summary

static String
cvs
static String
description
static short
version

Method Summary

static boolean
compareTo(short v)
Compares the specified version number against the current version number.
static void
main(String[] args)
Prints the value of the description and cvs fields to System.out.
static String
printDescription()
Returns the catenation of the description and cvs fields.
static String
printVersion()
Returns the version field as a String.

Field Details

cvs

public static final String cvs

description

public static final String description

version

public static final short version
Field Value:
2292

Method Details

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 B) 1998-2005 Bela Ban. All Rights Reserved.