com.griaule.grFinger
Class Version

java.lang.Object
  extended by com.griaule.grFinger.Version

public class Version
extends Object

This class stores version information of GrFinger library.


Field Summary
static int GRFINGER_FREE
          GrFinger FREE license.
static int GRFINGER_FULL
          GrFinger FULL license.
static int GRFINGER_LIGHT
          GrFinger LIGHT license.
 
Method Summary
 int getLicenseType()
          Get the GrFinger library current license type.
 byte getMajorVersion()
          Get the library major version.
 byte getMinorVersion()
          Get the library minor version.
 String toString()
          Returns a text with the version of the GrFinger library and the license type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GRFINGER_FULL

public static final int GRFINGER_FULL
GrFinger FULL license.

See Also:
Constant Field Values

GRFINGER_LIGHT

public static final int GRFINGER_LIGHT
GrFinger LIGHT license.

See Also:
Constant Field Values

GRFINGER_FREE

public static final int GRFINGER_FREE
GrFinger FREE license.

See Also:
Constant Field Values
Method Detail

getLicenseType

public int getLicenseType()
Get the GrFinger library current license type.

Returns:
GRFINGER_FULL, GRFINGER_LIGHT or GRFINGER_FREE static constants.

getMajorVersion

public byte getMajorVersion()
Get the library major version.

Returns:
The library major version.

getMinorVersion

public byte getMinorVersion()
Get the library minor version.

Returns:
The library minor version.

toString

public String toString()
Returns a text with the version of the GrFinger library and the license type.

Overrides:
toString in class Object