License
Inheritance: java.lang.Object
public class License
Provides methods to license the component. Learn more about licensing here .
Learn more
Constructor | Description |
---|---|
License() |
Methods
Method | Description |
---|---|
isValidMeteredLicense() | |
isValidLicense() | Gets a value indicating whether this instance is valid license. |
setLicense(InputStream licenseStream) | Licenses the component. |
setLicenseInternal(System.IO.Stream licenseStream) | |
setMeteredLicense() | |
setLicense(Path licensePath) | Licenses the component. |
setLicense(String licensePath) | Licenses the component. |
resetLicense() |
License()
public License()
isValidMeteredLicense()
public static boolean isValidMeteredLicense()
Returns: boolean
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: boolean
setLicense(InputStream licenseStream)
public final void setLicense(InputStream licenseStream)
Licenses the component.
Parameters:
Parameter | Type | Description |
---|---|---|
licenseStream | java.io.InputStream | The license stream. |
setLicenseInternal(System.IO.Stream licenseStream)
public void setLicenseInternal(System.IO.Stream licenseStream)
Parameters:
Parameter | Type | Description |
---|---|---|
licenseStream | com.aspose.ms.System.IO.Stream |
setMeteredLicense()
public final void setMeteredLicense()
setLicense(Path licensePath)
public final void setLicense(Path licensePath)
Licenses the component.
Parameters:
Parameter | Type | Description |
---|---|---|
licensePath | java.nio.file.Path | The license path. |
setLicense(String licensePath)
public final void setLicense(String licensePath)
Licenses the component.
Parameters:
Parameter | Type | Description |
---|---|---|
licensePath | java.lang.String | The license path. |
resetLicense()
public static void resetLicense()