public class License
extends java.lang.Object
Constructor and Description |
---|
License()
Initializes a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getSubscriptionExpireDate()
Gets the last date of the subscription.
|
static boolean |
isLicenseSet()
Checks whether valid license has been set.
|
void |
setLicense(java.io.InputStream stream)
Licenses the component.
|
void |
setLicense(java.io.Reader reader)
Licenses the component.
|
void |
setLicense(java.lang.String licenseFileName) |
public static boolean isLicenseSet()
public static java.lang.String getSubscriptionExpireDate()
public void setLicense(java.io.InputStream stream)
stream
- A stream that contains the license. Use null to switch to evaluation mode.public void setLicense(java.lang.String licenseFileName)
public void setLicense(java.io.Reader reader)
reader
- A reader that contains the license. Use null to switch to evaluation mode.