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