License
Leave feedback
On this page
Inheritance: java.lang.Object
public final class License
Represents GroupDocs.Parser license.
This example demonstrates how to setup license.
```
// Initialize License class
License license = new License();
// Set path to .lic file
license.setLicense("C:\\GroupDocs.Parser.for.Java.lic");
```
| Method | Description |
|---|---|
| setLicense(String filePath) | Licenses the component. |
| setLicense(InputStream stream) | Licenses the component. |
public License()
Initializes a new instance of the License class.
public final void setLicense(String filePath)
Licenses the component.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| filePath | java.lang.String | Absolute path to license file. |
public final void setLicense(InputStream stream)
Licenses the component.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream | java.io.InputStream | License stream. |
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.