public final class License extends Object
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");
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 License()
License
class.public final void setLicense(String filePath)
filePath
- Absolute path to license file.public final void setLicense(InputStream stream)
stream
- License stream.