Package org.meteoinfo.data.mathparser
Class MathParser
- java.lang.Object
-
- org.meteoinfo.data.mathparser.MathParser
-
public class MathParser extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MathParser()ConstructorMathParser(MeteoDataInfo aDataInfo)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectevaluate(java.lang.String expression)Evaluates the specified expression
-
-
-
Constructor Detail
-
MathParser
public MathParser()
Constructor
-
MathParser
public MathParser(MeteoDataInfo aDataInfo)
Constructor- Parameters:
aDataInfo- MeteoDataInfo
-
-
Method Detail
-
evaluate
public java.lang.Object evaluate(java.lang.String expression) throws ParseException, java.io.IOExceptionEvaluates the specified expression- Parameters:
expression- The expression to evaluate- Returns:
- The evaluated result
- Throws:
ParseExceptionjava.io.IOException
-
-