Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.commons.jexl2.scripting
Class Main

    java.lang.Object
      org.apache.commons.jexl2.scripting.Main

    public class Main

extends Object

Test application for JexlScriptEngine (JSR-223 implementation).

Since:
  2.0

Constructor Summary
`Main()`

Method Summary
`static void` | `main(String[] args)` Test application for JexlScriptEngine (JSR-223 implementation).

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Main

    public Main()

Method Detail

### main

    public static void main(String[] args)
                     throws Exception

  Test application for JexlScriptEngine (JSR-223 implementation). If a single argument is present, it is treated as a filename of a JEXL script to be evaluated. Any exceptions terminate the application. Otherwise, lines are read from standard input and evaluated. ScriptExceptions are logged, and do not cause the application to exit. This is done so that interactive testing is easier.

  Parameters:
    `args` - (optional) filename to evaluate. Stored in the args variable.
  Throws:
    `Exception` - if parsing or IO fail

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.