|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.saxonica.validate.PlatformVerifier
public abstract class PlatformVerifier
Field Summary | |
---|---|
protected java.util.Properties |
features
|
Constructor Summary | |
---|---|
PlatformVerifier()
|
Method Summary | |
---|---|
protected int |
daysLeft()
It returns how many days are left for the license. |
void |
displayLicenseMessage()
Display a message about the license status |
java.lang.String |
getFeature(java.lang.String name)
This method is called to get the feature of the license. |
abstract void |
loadLicense()
Load the license file |
abstract void |
supplyLicenseKey(java.io.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 java.util.Properties features
Constructor Detail |
---|
public PlatformVerifier()
Method Detail |
---|
public abstract void loadLicense()
java.lang.RuntimeException
- if the license cannot be located and readpublic abstract void supplyLicenseKey(java.io.BufferedReader reader)
reader
- A reader that will be used to read the contents of the license file
(for example, a StringReader)
java.lang.IllegalArgumentException
- if the key supplied is not a valid OEM license keyprotected int daysLeft()
public java.lang.String getFeature(java.lang.String name)
name
- the name of the required feature
public void displayLicenseMessage()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |