Package org.sentrysoftware.jawk
Class Main
java.lang.Object
org.sentrysoftware.jawk.Main
Entry point into the parsing, analysis, and execution/compilation
of a Jawk script.
This entry point is used when Jawk is executed as a stand-alone application.
If you want to use Jawk as a library, please use .
- Author:
- Danny Daglas
-
Constructor Summary
ConstructorDescriptionMain
(String[] args, InputStream is, PrintStream os, PrintStream es) Class constructor to support the JSR 223 scripting interface already provided by Java SE 6. -
Method Summary
-
Constructor Details
-
Main
Class constructor to support the JSR 223 scripting interface already provided by Java SE 6.- Parameters:
args
- String arguments from the command-line.is
- The input stream to use as stdin.os
- The output stream to use as stdout.es
- The output stream to use as stderr.- Throws:
Exception
- enables exceptions to propagate to the callee.
-
-
Method Details
-
main
The entry point to Jawk for the VM.The main method is a simple call to the invoke method. The current implementation is basically as follows:
System.exit(invoke(args));
- Parameters:
args
- Command line arguments to the VM.
-