We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Missing method for apply licensing

Hi there,

jar: aspose-ocr
version: 21.12
class: com.aspose.ocr.License

As described in documentation (HERE) should exists a method to apply licence file via InputStream (as for the other jars of the suite).
The only valid method, actually, is via fileName (setLicense(String)).

Some possible fix to this issue?



An issue as OCRJAVA-214 has been logged in our issue management system to rectify this problem. We will surely resolve it and let you know as soon as the ticket is closed. Please be patient and spare us some time.

We are sorry for the inconvenience.


We would like to share with you that the earlier logged ticket has been resolved in Aspose.OCR for Java 22.1.

Hi there,
I tried the fix in version 22.1, but I discover differences between this method declaration and the other methods in the library to apply licence.
In this fix, the method
accept in input a
instead of an
like the other aspose products.

Can you add the method
setLicence (InputStream stream)



We have logged another ticket as OCRJAVA-229 in our issue tracking system to add this method. We will let you know as soon as the method is added. Please spare us some time.