|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.license.LicenseProvider
public class LicenseProvider
Class Spire.Doc.LicenseProvider.
Constructor Summary | |
---|---|
LicenseProvider()
|
Method Summary | |
---|---|
static void |
clearLicense()
Clear all cached license. |
static void |
loadLicense()
Load the license provided by current setting to the license cache. |
static void |
setLicense(java.io.InputStream licenseFileStream)
Provides a license by a license stream, which will be used for loading license. |
static void |
setLicense(java.lang.String licenseFileFullPath)
Provides a license by a license file path, which will be used for loading license. |
static void |
setLicenseFileName(java.lang.String licenseFileName)
Sets the license file name, which will be used for loading license. |
static void |
setLicenseKey(java.lang.String key)
Provides a license by a license key, which will be used for loading license. |
Constructor Detail |
---|
public LicenseProvider()
Method Detail |
---|
public static void setLicense(java.lang.String licenseFileFullPath)
licenseFileFullPath
- License file full path.public static void setLicense(java.io.InputStream licenseFileStream)
licenseFileStream
- License data stream.public static void setLicenseKey(java.lang.String key)
key
- The value of the Key attribute of the element License of you license xml file.public static void setLicenseFileName(java.lang.String licenseFileName)
licenseFileName
- License file name.public static void clearLicense()
public static void loadLicense()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |