GroupDocsGists
10/24/2017 - 1:25 PM

Examples-src-Main-Utilities-applyLicenseFromFile.java

// For complete examples and data files, please go to https://github.com/groupdocs-comparison/GroupDocs.Comparison-for-Java
try {
	// Setup license
	License lic = new License();
	lic.setLicense(licensePath.toString());
} catch (Exception exp) {
	System.out.println("Exception: " + exp.getMessage());
	exp.printStackTrace();
}