Package groovy.ui

Class GroovyMain

java.lang.Object
groovy.ui.GroovyMain

public class GroovyMain extends Object
A Command line to execute groovy.
Version:
$Revision$
Author:
Jeremy Rayner, Yuri Schimke, Roshan Dawrani
  • Constructor Details

    • GroovyMain

      public GroovyMain()
  • Method Details

    • main

      public static void main(String[] args)
      Main CLI interface.
      Parameters:
      args - all command line args.
    • getText

      public String getText(String urlOrFilename) throws IOException
      Throws:
      IOException
    • huntForTheScriptFile

      public File huntForTheScriptFile(String input)
      Hunt for the script file, doesn't bother if it is named precisely. Tries in this order: - actual supplied name - name.groovy - name.gvy - name.gy - name.gsh