public class LocalScannerBase
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLicenseLoaded()
Checks if the license is loaded.
|
boolean |
isSettingsLoaded()
Checks if the settings are loaded.
|
void |
loadLicense(java.io.File licenseFile)
Loads the license from a file.
|
void |
loadLicense(java.lang.String license)
Loads the license from a string.
|
public void loadLicense(java.io.File licenseFile)
throws InvalidLicenseException,
java.io.IOException,
java.lang.Exception
licenseFile - The file containing the license.InvalidLicenseException - If the license is invalid.java.io.IOException - If there was an error reading the file.java.lang.Exception - Generic exception.public void loadLicense(java.lang.String license)
throws InvalidLicenseException,
java.lang.Exception
license - The string containing the license.InvalidLicenseException - If the license is invalid.java.lang.Exception - Generic exception.public boolean isLicenseLoaded()
public boolean isSettingsLoaded()