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 licenseName)
Licenses the component.
|
public void setLicense(java.lang.String licenseName) throws java.lang.Exception
licenseName
- Can be a full or short file name
Use an empty string to switch to evaluation mode.java.lang.Exception
public void setLicense(java.io.InputStream stream) throws java.lang.Exception
stream
- A stream that contains the license.java.lang.Exception
public void setLicense(java.io.File licenseFile) throws java.lang.Exception
licenseFile
- representation of file pathnamejava.lang.Exception