it.amattioli.workstate.config
Class BeanShellHelper

Show UML class diagram
java.lang.Object
  extended by it.amattioli.workstate.config.BeanShellHelper

public class BeanShellHelper
extends Object


Field Summary
static bsh.Interpreter i
           
 
Method Summary
static Object evalExpr(String expr)
          Evaluate a BeanShell expression.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i

public static bsh.Interpreter i
Method Detail

evalExpr

public static Object evalExpr(String expr)
                       throws bsh.EvalError
Evaluate a BeanShell expression. This method interprets the string parameter as a BeanShell expression and returns the result.

Parameters:
expr - the string containing the evaluating expression
Returns:
the result of the expression evaluation
Throws:
bsh.EvalError - if the expression has errors


Copyright © 2011. All Rights Reserved.