public final class DitoLicense extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.itextpdf.dito.sdk.license.DitoLicenseInfo |
getInfo() |
static DitoLicense |
getLicense() |
static com.itextpdf.dito.sdk.license.DitoLicenseInfo |
getLicenseInfo() |
int |
hashCode() |
static com.itextpdf.dito.sdk.license.DitoLicenseInfo |
loadLicenseFile(File licenseFile)
Loads DITO license file and unlocks SDK capabilities.
|
static DitoLicense |
parseLicense(InputStream licenseInputStream)
Parse DitoLicense from input stream and performs license check Throws DitoLicenseException in case of invalid stream, format or license validation errors, e.g license expired
|
static void |
requestLicenseCheck() |
static DitoLicense |
requestLicenseCheck(DitoLicense license) |
static void |
unloadLicense() |
public com.itextpdf.dito.sdk.license.DitoLicenseInfo getInfo()
public static DitoLicense parseLicense(InputStream licenseInputStream) throws com.itextpdf.dito.sdk.license.DitoLicenseException
DitoLicense
from input stream and performs license check Throws DitoLicenseException
in case of invalid stream, format or license validation errors, e.g license expired
licenseInputStream
- InputStream
license stream to be loaded
DitoLicense
from license stream
com.itextpdf.dito.sdk.license.DitoLicenseException
public static com.itextpdf.dito.sdk.license.DitoLicenseInfo loadLicenseFile(File licenseFile)
licenseFile
- license file to be loaded
DitoLicenseInfo
from license file
public static void unloadLicense()
public static void requestLicenseCheck()
public static com.itextpdf.dito.sdk.license.DitoLicenseInfo getLicenseInfo()
public static DitoLicense getLicense()
public static DitoLicense requestLicenseCheck(DitoLicense license)
Copyright © 2021. All rights reserved.