public class License extends Object
Provides methods for applying license.
Learn more
The following example demonstrates how to set the license for GroupDocs.Redaction.
com.groupdocs.redaction.License license = new com.groupdocs.redaction.License();
// as an alternative you can use a stream:
license.setLicense(licensePath);
Constructor and Description |
---|
License()
Initialize an instance of License class.
|
Modifier and Type | Method and Description |
---|---|
void |
setLicense(InputStream licenseStream)
Sets the GroupDocs.Redaction license from a stream.
|
void |
setLicense(String licensePath)
Sets the GroupDocs.Redaction license from a file path.
|
public final void setLicense(String licensePath)
Sets the GroupDocs.Redaction license from a file path.
licensePath
- License file path.public final void setLicense(InputStream licenseStream)
Sets the GroupDocs.Redaction license from a stream.
licenseStream
- License stream.