org.codehaus.plexus.component.configurator.expression
Interface ExpressionEvaluator
- All Known Implementing Classes:
- DefaultExpressionEvaluator
public interface ExpressionEvaluator
Evaluate an expression.
- Version:
- $Id: ExpressionEvaluator.java 4779 2006-11-23 04:09:31Z jvanzyl $
- Author:
- Brett Porter
ROLE
static final String ROLE
evaluate
Object evaluate(String expression)
throws ExpressionEvaluationException
- Evaluate an expression.
- Parameters:
expression
- the expression
- Returns:
- the value of the expression
- Throws:
ExpressionEvaluationException
alignToBaseDirectory
File alignToBaseDirectory(File file)
- Align a given path to the base directory that can be evaluated by this expression evaluator, if known.
- Parameters:
file
- the file
- Returns:
- the aligned file
Copyright © 2001-2009 Codehaus. All Rights Reserved.