License
Leave feedback
On this page
Inheritance: java.lang.Object
public class License
Provides methods to license the component. Learn more about licensing here .
Learn more
| Constructor | Description |
|---|---|
| License() |
| Method | Description |
|---|---|
| isValidMeteredLicense() | |
| isValidLicense() | Gets a value indicating whether this instance is valid license. |
| setLicense(InputStream licenseStream) | Licenses the component. |
| setLicenseInternal(System.IO.Stream licenseStream) | |
| setMeteredLicense() | |
| setLicense(Path licensePath) | Licenses the component. |
| setLicense(String licensePath) | Licenses the component. |
| resetLicense() |
public License()
public static boolean isValidMeteredLicense()
Returns: boolean
public static boolean isValidLicense()
Gets a value indicating whether this instance is valid license.
Value: true if this instance is valid license; otherwise, false .
Returns: boolean
public final void setLicense(InputStream licenseStream)
Licenses the component.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| licenseStream | java.io.InputStream | The license stream. |
public void setLicenseInternal(System.IO.Stream licenseStream)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| licenseStream | com.aspose.ms.System.IO.Stream |
public final void setMeteredLicense()
public final void setLicense(Path licensePath)
Licenses the component.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| licensePath | java.nio.file.Path | The license path. |
public final void setLicense(String licensePath)
Licenses the component.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| licensePath | java.lang.String | The license path. |
public static void resetLicense()
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.