Class StringModel

Buy me a cup of coffee via donation

Did you find the software useful? Please consider donation

or support me purchasing the license via ORDER Page , or INFIMA online store


INFIMA online store
java.lang.Object
org.mariuszgromada.math.mxparser.StringModel

public final class StringModel extends Object
A class containing definitions of text strings that are with respect to the user's language.
Version:
6.0.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

Buy me a cup of coffee via donation

Did you find the software useful? Please consider donation

or support me purchasing the license via ORDER Page , or INFIMA online store


INFIMA online store
  • Constructor Details

    • StringModel

      public StringModel()
  • Method Details

    • setStringResources

      public static void setStringResources(StringResources stringResources)
      Sets a user-specific text resource object. Using this object, you can provide your own text model or your own translations. If the provided string resources object is null, no change will be done and the current object will still be used.
      Parameters:
      stringResources - A user-specific text resource object
      See Also:
    • setDefaultStringResources

      public static void setDefaultStringResources()
      Sets default string resources.
      See Also:
    • setDefaultEnglishStringResources

      public static void setDefaultEnglishStringResources()
      Sets default english string resources.
      See Also:
    • getStringResources

      public static StringResources getStringResources()
      Gets currently used user-specific text resource object.
      Returns:
      Currently used StringResources
    • print

      public static void print()
      Displays the user-defined text resources used and the effect of their use to generate descriptions of the parser elements on the console.
      See Also:
    • printDescriptions

      public static void printDescriptions()
      Prints to the console the result of applying user-specific text resources to generate parser description and objects. The method can help with debugging when creating your own translations.
      See Also: