com.sun.grizzly
Class Grizzly

java.lang.Object
  extended by com.sun.grizzly.Grizzly

public class Grizzly
extends Object

Class contains information about Grizzly framework.

Author:
Charlie Hunt, Hubert Iwaniuk

Field Summary
static AttributeBuilder DEFAULT_ATTRIBUTE_BUILDER
           
static Logger logger
           
 
Constructor Summary
Grizzly()
           
 
Method Summary
static boolean equalVersion(int major, int minor)
          Checks if current Grizzly framework version equals to one passed
static String getDotedVersion()
          Return the dotted version of the curent release.
static int getMajorVersion()
          Get Grizzly framework major version
static int getMinorVersion()
          Get Grizzly framework minor version
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static Logger logger

DEFAULT_ATTRIBUTE_BUILDER

public static AttributeBuilder DEFAULT_ATTRIBUTE_BUILDER
Constructor Detail

Grizzly

public Grizzly()
Method Detail

main

public static void main(String[] args)

getDotedVersion

public static String getDotedVersion()
Return the dotted version of the curent release.

Returns:
like "2.0.1"

getMajorVersion

public static int getMajorVersion()
Get Grizzly framework major version

Returns:
Grizzly framework major version

getMinorVersion

public static int getMinorVersion()
Get Grizzly framework minor version

Returns:
Grizzly framework minor version

equalVersion

public static boolean equalVersion(int major,
                                   int minor)
Checks if current Grizzly framework version equals to one passed

Parameters:
major - Grizzly framework major version
minor - Grizzly framework minor version
Returns:
true, if versions are equal; false otherwise


Copyright © 2009 SUN Microsystems. All Rights Reserved.