|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.dessci.mathflow.sdk.license.LicenseSource
public class LicenseSource
This class represents a license for a component. In the MathFlow SDK, there are two type of licenses in order to meet different needs:
| Field Summary |
|---|
| Fields inherited from interface com.dessci.mathflow.sdk.license.LicenseConstants |
|---|
debugMode, DESSCI_KEY, DOCUMENT_COMPOSER, DOCUMENT_COMPOSER_FOR_JAVA, DSI_LICENSE_DAEMON, EQUATION_COMPOSER, EQUATION_COMPOSER_FOR_JAVA, EVAL_LICENSE_FOR_APPLETS, FLEXLM_LIB_NAME, FLEXLM_LIC, LICENSE_EXPIRED, LICENSE_FILE_NAME, LICENSE_FOLDER_NAME, LICENSE_ID, LICENSE_INVALID, LICENSE_NOT_AVAILABLE, LICENSE_OK, SIMPLE_EDITOR, STRUCTURE_EDITOR, STYLE_EDITOR |
| Constructor Summary | |
|---|---|
LicenseSource(java.lang.String licenseString)
Creates a new FlexLM LicenseSource object with the specified FlexLM license file. |
|
LicenseSource(java.lang.String licenseString,
int licenseType)
Creates a new LicenseSource object with the specified type of license. |
|
| Method Summary | |
|---|---|
com.dessci.mathflow.sdk.license.LicenseInterface |
getLicenseInstance()
Returns the instance of this license object. |
java.lang.String |
getLicenseString()
Returns the FlexLM file path or Design Science registration key depending on the license type. |
int |
getLicenseType()
Returns the type of license. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LicenseSource(java.lang.String licenseString)
throws com.dessci.mathflow.sdk.license.LicenseException
licenseString - the FlexLM license file
LicenseException
public LicenseSource(java.lang.String licenseString,
int licenseType)
throws com.dessci.mathflow.sdk.license.LicenseException
licenseString - the FlexLM license file or registration key string depending on
the type of licenselicenseType - the type of license. The valid values are:
LicenseConstants.FLEXLM_LIC
LicenseConstants.DESSCI_KEY
LicenseException| Method Detail |
|---|
public com.dessci.mathflow.sdk.license.LicenseInterface getLicenseInstance()
DessciKey object or FlexlmLicense object.
public java.lang.String getLicenseString()
public int getLicenseType()
|
Copyright (c) 2015 Design Science All rights reserved |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||