Class DefaultExpressionEvaluator

    • Field Summary

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.File alignToBaseDirectory​(java.io.File file)
      Align a given path to the base directory that can be evaluated by this expression evaluator, if known.
      java.lang.Object evaluate​(java.lang.String expression)
      Evaluate an expression.
      • Methods inherited from class java.lang.Object

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

      • DefaultExpressionEvaluator

        public DefaultExpressionEvaluator()
    • Method Detail

      • evaluate

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

        public java.io.File alignToBaseDirectory​(java.io.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