Package com.aspose.barcode
Class License
java.lang.Object
com.aspose.barcode.License
Provides methods to license the component.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetLicense(File licenseFile) Licenses the component.voidsetLicense(InputStream stream) Licenses the component.voidsetLicense(String licenseName) Licenses the component.
-
Constructor Details
-
License
public License()Initializes a new instance of this class.
-
-
Method Details
-
setLicense
Licenses the component.- Parameters:
licenseName- Can be a full or short file name Use an empty string to switch to evaluation mode.- Throws:
Exception
-
setLicense
Licenses the component.- Parameters:
stream- A stream that contains the license.- Throws:
Exception
-
setLicense
Licenses the component.- Parameters:
licenseFile- representation of file pathname- Throws:
Exception
-