public final class LicenseKeyInfo
extends java.lang.Object
Constructor and Description |
---|
LicenseKeyInfo(java.lang.String licenseKey)
Blocks for 2 seconds, then returns an object holding information about the license key given.
|
Modifier and Type | Method and Description |
---|---|
static LicenseKeyInfo |
getCurrent()
Get the current LicenseKeyInfo which show the state of the current license
|
java.lang.String |
getErrorMessage()
Get the error message if the license is invalid
|
java.lang.String |
getLicenseText()
Returns a text description of the license
|
java.lang.String |
getLicensee()
Returns the licensee of the license.
|
java.lang.String |
getWaterMark()
The watermark text
|
boolean |
hasExpiredDate()
Check if there is an expires date.
|
boolean |
isPlus()
Returns whether or not the license is an i-net Clear Reports Plus license.
|
boolean |
isSite()
Returns whether the license is a Site license or not.
|
boolean |
isValid()
Returns whether the key is a valid license key or not.
|
public LicenseKeyInfo(java.lang.String licenseKey)
licenseKey
- License Key to check, null the LicenseKeyInfo of the current license will be returnjava.lang.RuntimeException
- if a creation is impossible@Nonnull public static final LicenseKeyInfo getCurrent()
public final boolean isPlus()
public final java.lang.String getLicenseText()
public final java.lang.String getLicensee()
public final boolean isValid()
public final java.lang.String getErrorMessage()
public final boolean hasExpiredDate()
public final java.lang.String getWaterMark()
public final boolean isSite()
Copyright © 1999-2020 by i-net software GmbH