License
Leave feedback
On this page
Inheritance: java.lang.Object
public class License
Provides methods to license the component.
| Constructor | Description |
|---|---|
| License() |
| Method | Description |
|---|---|
| setLicense(InputStream licenseStream) | Licenses the component from a stream. |
| setLicense(String licensePath) | Licenses the component from a file path. |
| set(String licensePath) | Sets the license from a file path. |
| set(InputStream licenseStream) | Sets the license from a stream. |
public License()
public void setLicense(InputStream licenseStream)
Licenses the component from a stream.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| licenseStream | java.io.InputStream | license stream |
public void setLicense(String licensePath)
Licenses the component from a file path.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| licensePath | java.lang.String | license file path |
public static void set(String licensePath)
Sets the license from a file path.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| licensePath | java.lang.String | path to license file |
public static void set(InputStream licenseStream)
Sets the license from a stream.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| licenseStream | java.io.InputStream | stream that contains the license |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.