public final class License extends Object
Represents the component license.
Constructor and Description |
---|
License()
Initializes a new instance of the
License class. |
Modifier and Type | Method and Description |
---|---|
void |
setLicense(InputStream stream)
Licenses the component.
|
void |
setLicense(String filePath)
Licenses the component.
|
public final void setLicense(String filePath)
Licenses the component.
filePath
- The absolute path to license file.public final void setLicense(InputStream stream)
Licenses the component.
stream
- A stream containing a valid license.