|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.saxonica.config.Verifier
public class Verifier
A helper class for EnterpriseConfiguration that handles license keys as issued for the Java platform. From Saxon 9.2 the same license keys are also used on the .NET platform, though the option of using older .NET license keys is retained for the time being.
Field Summary | |
---|---|
protected Properties |
features
|
Constructor Summary | |
---|---|
Verifier()
|
Method Summary | |
---|---|
protected int |
daysLeft()
It returns how many days are left for the license. |
void |
displayLicenseMessage(boolean tracing)
Display a message about the license status |
String |
getFeature(String name,
boolean tracing)
This method is called to get the feature of the license. |
void |
loadLicense(boolean tracing)
|
void |
supplyLicenseKey(BufferedReader reader)
This method allows the contents of a license key to be supplied programmatically. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Properties features
Constructor Detail |
---|
public Verifier()
Method Detail |
---|
protected int daysLeft()
public String getFeature(String name, boolean tracing)
name
- the name of the required feature
public void displayLicenseMessage(boolean tracing)
public void loadLicense(boolean tracing)
public void supplyLicenseKey(BufferedReader reader)
reader
- A reader that will be used to read the contents of the license file
(for example, a StringReader)
IllegalArgumentException
- if the key supplied is not a valid OEM license key
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |