com.groupdocs.redaction.licensing

Class License



  • 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 Detail

      • License

        public License()

        Initialize an instance of License class.

    • Method Detail

      • setLicense

        public final void setLicense(String licensePath)

        Sets the GroupDocs.Redaction license from a file path.

        Parameters:
        licensePath - License file path.
      • setLicense

        public final void setLicense(InputStream licenseStream)

        Sets the GroupDocs.Redaction license from a stream.

        Parameters:
        licenseStream - License stream.