com.vs.ezlicrun
Class EzLicCustomKeyHandler

java.lang.Object
  extended by com.vs.ezlicrun.EzLicCustomKeyHandler
All Implemented Interfaces:
EzLicCustomLicenseInterface

public class EzLicCustomKeyHandler
extends java.lang.Object
implements EzLicCustomLicenseInterface


Constructor Summary
EzLicCustomKeyHandler()
           
 
Method Summary
 int checkCustomKeyCode(java.lang.String valStr, java.lang.Object ctx)
          Check specified custom key code using the specified run time context, returning a bitmap of warning codes defined in com.vs.ezlicenser.EzLicExceptionBase and / or appropriately extended by custom handler.
 java.lang.String getCustomKeyValue(java.lang.String keyword)
           
static java.lang.String getKeyValsStr()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EzLicCustomKeyHandler

public EzLicCustomKeyHandler()
Method Detail

checkCustomKeyCode

public int checkCustomKeyCode(java.lang.String valStr,
                              java.lang.Object ctx)
                       throws EzLicExceptionBase
Description copied from interface: EzLicCustomLicenseInterface
Check specified custom key code using the specified run time context, returning a bitmap of warning codes defined in com.vs.ezlicenser.EzLicExceptionBase and / or appropriately extended by custom handler. Warnings are benign alert conditions signifying impending events such as "license will expire soon".

Specified by:
checkCustomKeyCode in interface EzLicCustomLicenseInterface
Parameters:
valStr - custom key value that was embedded in a license key
ctx - optional run time context
Returns:
bitmap of warning codes.
Throws:
EzLicExceptionBase - if the check fails
See Also:
EzLicExceptionBase

getKeyValsStr

public static java.lang.String getKeyValsStr()

getCustomKeyValue

public java.lang.String getCustomKeyValue(java.lang.String keyword)