Class DefaultExpressionEvaluator

    • Constructor Detail

      • DefaultExpressionEvaluator

        public DefaultExpressionEvaluator()
    • Method Detail

      • evaluate

        public Object evaluate​(String expression)
        Evaluate an expression.
        Specified by:
        evaluate in interface ExpressionEvaluator
        Parameters:
        expression - the expression
        Returns:
        the value of the expression
      • alignToBaseDirectory

        public File alignToBaseDirectory​(File file)
        Description copied from interface: ExpressionEvaluator
        Align a given path to the base directory that can be evaluated by this expression evaluator, if known.
        Specified by:
        alignToBaseDirectory in interface ExpressionEvaluator
        Parameters:
        file - the file
        Returns:
        the aligned file