public class License
extends java.lang.Object
| Constructor and Description |
|---|
License()
Initializes a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setLicense(java.io.File licenseFile)
Licenses the component.
|
void |
setLicense(java.io.InputStream stream)
Licenses the component.
|
void |
setLicense(java.lang.String licenseFilePath)
Licenses the component.
|
public void setLicense(java.lang.String licenseFilePath)
throws java.lang.Exception
licenseFilePath - Can be a full or short file name
Use an empty string to switch to evaluation mode.java.lang.Exceptionpublic void setLicense(java.io.InputStream stream)
throws java.lang.Exception
stream - A stream that contains the license.java.lang.Exceptionpublic void setLicense(java.io.File licenseFile)
throws java.lang.Exception
licenseFile - representation of file pathnamejava.lang.Exception