Documentation of 'org.jplot2d.tex.TeXMathUtils' Java class
TeXMathUtils
org.jplot2d.tex

Class TeXMathUtils



  • public class TeXMathUtils
    extends java.lang.Object
    Provide a static parse method to use thread local parser.
    • Constructor Summary

      Constructors 
      Constructor and Description
      TeXMathUtils() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static MathElement parseText(java.lang.String text)
      Parse the given text into a math model.
      static java.lang.String toString(MathElement me)
      Returns the TeX string to represent the given MathElement.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TeXMathUtils

        public TeXMathUtils()
    • Method Detail

      • parseText

        public static MathElement parseText(java.lang.String text)
        Parse the given text into a math model. If the given text is null, then null is returned. if the given text does not represent a math model, such as "", or "$$", then a MathElement.EMPTY is returned.
        Parameters:
        text -
        Returns:
      • toString

        public static java.lang.String toString(MathElement me)
        Returns the TeX string to represent the given MathElement. Unlike String.valueOf(), this method returns null when the given MathElement is null.
        Parameters:
        me - the math model
        Returns:
        the TeX string

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.