java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.jexl2.Main

public class Main extends Object
Test application for JEXL.
Since:
2.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Test application for JEXL If a single argument is present, it is treated as a filename of a JEXL script to be executed as a script.

    Methods inherited from class java.lang.Object

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

    • Main

      public Main()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      Test application for JEXL If a single argument is present, it is treated as a filename of a JEXL script to be executed as a script. Any exceptions terminate the application. Otherwise, lines are read from standard input and evaluated. ParseExceptions and JexlExceptions are logged, and do not cause the application to exit. This is done so that interactive testing is easier.
      Parameters:
      args - (optional) filename to execute. Stored in the args variable.
      Throws:
      Exception - if parsing or IO fail