com.groupdocs.conversion

Class License



  • public final class License
    extends Object

    Set GroupDocs.Conversion license

    • Constructor Detail

      • License

        public License()
    • Method Detail

      • resetHandler

        public static void resetHandler()

        Use this method for testing purpose only

      • isValidLicense

        public static boolean isValidLicense()

        Gets a value indicating whether this instance is valid license.

        Value: true if this instance is valid license; otherwise, false.
        Returns:
      • setLicense

        public void setLicense(InputStream licenseStream)

        Sets the license.

        Parameters:
        licenseStream - The license stream.
      • setLicense

        public void setLicense(String licensePath)

        Sets the license.

        Parameters:
        licensePath - The license path.
      • getFileNameInFolderOfAssembly

        public static String getFileNameInFolderOfAssembly(String fileName,
                                           com.aspose.ms.System.Reflection.Assembly assembly)

        Gets the file name in folder of assembly.

        Parameters:
        fileName - Name of the file.
        assembly - The assembly.
        Returns:
        System.String.