org.apache.geronimo.gshell.bootstrap
Class ExpressionEvaluator
java.lang.Object
org.apache.geronimo.gshell.bootstrap.ExpressionEvaluator
public class ExpressionEvaluator
- extends Object
Simple expression evaluator for handling ${variable} expansion.
- Version:
- $Rev: 726406 $ $Date: 2008-12-14 10:51:27 +0100 (Sun, 14 Dec 2008) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpressionEvaluator
public ExpressionEvaluator(Properties props)
evaluate
public String evaluate(String input)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
evaluate
public static String evaluate(String input,
Properties props)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getSystemProperty
public static String getSystemProperty(String key,
String def)
getSystemProperty
public static String getSystemProperty(String key)
Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.