public class License extends Object
Provides methods to license the component. Learn more about licensing here
Constructor and Description |
---|
License() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isValidLicense()
Gets a value indicating whether this instance is valid license.
|
void |
setLicense(InputStream licenseStream)
Licenses the component.
|
void |
setLicense(Path licensePath)
Licenses the component.
|
void |
setLicense(String licensePath)
Licenses the component.
|
public static boolean isValidLicense()
Gets a value indicating whether this instance is valid license.
Value:true
if this instance is valid license; otherwise, false
.public final void setLicense(InputStream licenseStream)
Licenses the component.
licenseStream
- The license stream.public final void setLicense(Path licensePath)
Licenses the component.
licensePath
- The license path.public final void setLicense(String licensePath)
Licenses the component.
licensePath
- The license path.