public class InfoExtraction extends Object
Constructor and Description |
---|
InfoExtraction() |
Modifier and Type | Method and Description |
---|---|
static void |
checkLicenseInfoString(String expectedString,
String loadedString) |
static int |
getIntegerProductAttribute(Element productElement,
String attributeName) |
static int |
getIntegerProductAttribute(Element productElement,
String attributeName,
boolean required) |
static String |
getLicenseElementTagValue(Element licenseElement,
String tagName) |
static String |
getLicenseElementTagValue(Element licenseElement,
String tagName,
boolean required) |
static String |
getLicenseeSignatureString5(LicenseKeyLicensee licensee)
Returns the string that will be used for the licensee signature.
|
static String |
getLicenseeSignatureString5(String name,
String email,
String company,
String expire,
String key,
String producerLine)
Returns the string that will be used for the licensee signature.
|
static String |
getLicenseeSignatureString7(LicenseKeyLicensee licensee)
Returns the string that will be used for the licensee signature.
|
static String |
getLicenseeSignatureString7(String name,
String email,
String company,
String expire,
String key,
String producerLine,
String type,
String version)
Returns the string that will be used for the licensee signature.
|
static String |
getProductAttribute(Element productElement,
String attributeName) |
static String |
getProductAttribute(Element productElement,
String attributeName,
boolean required) |
static String |
getProductSignatureString5(LicenseKeyProduct product,
LicenseKeyLicensee licensee)
Returns the string that will be used for the product signature.
|
static String |
getProductSignatureString5(String productName,
String majorVersion,
String minorVersion,
String type,
String expire,
String platform,
String[] features,
String email)
Returns the string that will be used for the product signature.
|
static String |
getProductSignatureString7(LicenseKeyProduct product,
LicenseKeyLicensee licensee)
Returns the string that will be used for the product signature.
|
static String |
getProductSignatureString7(String productName,
String majorVersion,
String minorVersion,
String type,
String expire,
String platform,
String[] features,
String email,
String licenseeType)
Returns the string that will be used for the product signature.
|
public static void checkLicenseInfoString(String expectedString, String loadedString) throws LicenseKeyException
LicenseKeyException
public static String getLicenseElementTagValue(Element licenseElement, String tagName)
public static String getLicenseElementTagValue(Element licenseElement, String tagName, boolean required)
public static String getProductAttribute(Element productElement, String attributeName)
public static String getProductAttribute(Element productElement, String attributeName, boolean required)
public static int getIntegerProductAttribute(Element productElement, String attributeName)
public static int getIntegerProductAttribute(Element productElement, String attributeName, boolean required)
public static String getLicenseeSignatureString7(LicenseKeyLicensee licensee)
licensee
- public static String getLicenseeSignatureString7(String name, String email, String company, String expire, String key, String producerLine, String type, String version)
public static String getLicenseeSignatureString5(LicenseKeyLicensee licensee)
licensee
- public static String getLicenseeSignatureString5(String name, String email, String company, String expire, String key, String producerLine)
public static String getProductSignatureString7(LicenseKeyProduct product, LicenseKeyLicensee licensee)
public static String getProductSignatureString7(String productName, String majorVersion, String minorVersion, String type, String expire, String platform, String[] features, String email, String licenseeType)
public static String getProductSignatureString5(LicenseKeyProduct product, LicenseKeyLicensee licensee)
Copyright © 2018. All rights reserved.