Package org.mariuszgromada.math.mxparser
Class License
java.lang.Object
org.mariuszgromada.math.mxparser.License
A class that provides commercial and non-commercial use mode registration.
The execution of methods in this class does not affect the operation
of the MathParser.org-mXparser software, but is required by the terms of the
License.geTermsOfAgreement().
- Version:
- 6.1.0
- Author:
- Mariusz Gromada
MathParser.org - mXparser project page
mXparser on GitHub
INFIMA place to purchase a commercial MathParser.org-mXparser software license
info@mathparser.org
ScalarMath.org - a powerful math engine and math scripting language
Scalar Lite
Scalar Pro
MathSpace.pl - See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe terms of MathParser.org-mXparser DUAL LICENSE AGREEMENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanVerifies whether the use type has been successfully confirmed and signed.static voidPrints to the console the terms of MathParser.org-mXparser DUAL LICENSE AGREEMENTstatic StringReturn the terms of MathParser.org-mXparser DUAL LICENSE AGREEMENT.static StringInformation about the problem encountered when calling methods: License.iConfirmNonCommercialUse(...), License.iConfirmCommercialUse(...)static StringVerifies whether the use type has been successfully confirmed and signed.static booleaniConfirmCommercialUse(String mySignature) By successfully calling this method, you confirm and sign that you use MathParser.org-mXparser commercially according to the License.geTermsOfAgreement().static booleaniConfirmNonCommercialUse(String mySignature) By successfully calling this method, you confirm and sign that you use MathParser.org-mXparser non-commercially according to the License.geTermsOfAgreement().
-
Field Details
-
MATHPARSERORG_MXPARSER_DUAL_LICENSE_AGREEMENT
The terms of MathParser.org-mXparser DUAL LICENSE AGREEMENT- See Also:
-
-
Constructor Details
-
License
public License()
-
-
Method Details
-
iConfirmCommercialUse
By successfully calling this method, you confirm and sign that you use MathParser.org-mXparser commercially according to the License.geTermsOfAgreement(). The confirmation can only be called once. The method call takes place only internally for logging purposes and there is no connection with other external services and no data is sent or collected. The lack of a method call (or its successful call) does not affect the operation of the PRODUCT in any way.- Parameters:
mySignature- Your first and last name or your e-mail address or your company name. At least 5 non-blank characters.- Returns:
- Logs commercial use and returns true if this was the first attempt to register a use type and the signature met the conditions specified for it. Otherwise, returns false and does not log use type.
- See Also:
-
iConfirmNonCommercialUse
By successfully calling this method, you confirm and sign that you use MathParser.org-mXparser non-commercially according to the License.geTermsOfAgreement(). The confirmation can only be called once. The method call takes place only internally for logging purposes and there is no connection with other external services and no data is sent or collected. The lack of a method call (or its successful call) does not affect the operation of the PRODUCT in any way.- Parameters:
mySignature- Your first and last name or your e-mail address or your company name. At least 5 non-blank characters.- Returns:
- Logs non-commercial use and returns true if this was the first attempt to register a use type and the signature met the conditions specified for it. Otherwise, returns false and does not log use type.
- See Also:
-
checkIfUseTypeConfirmed
public static boolean checkIfUseTypeConfirmed()Verifies whether the use type has been successfully confirmed and signed.- Returns:
- True in case commercial or non-commercial user type has been confirmed and signed. Otherwise, returns false.
-
getUseTypeConfirmationMessage
Verifies whether the use type has been successfully confirmed and signed.- Returns:
- Confirmation message in case commercial or non-commercial user type has been confirmed and signed. Otherwise, returns error / warning message.
- See Also:
-
getErrorMessage
Information about the problem encountered when calling methods: License.iConfirmNonCommercialUse(...), License.iConfirmCommercialUse(...)- Returns:
- Error message if an error occurred, empty string if no error.
- See Also:
-
geTermsOfAgreement
Return the terms of MathParser.org-mXparser DUAL LICENSE AGREEMENT.- Returns:
- The terms of MathParser.org-mXparser DUAL LICENSE AGREEMENT as string.
-
consolePrintLicense
public static void consolePrintLicense()Prints to the console the terms of MathParser.org-mXparser DUAL LICENSE AGREEMENT
-