Main (Bean Scripting Framework API)
Keywords: org.apache.bsf.Main class

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.bsf
Class Main

    java.lang.Object
      org.apache.bsf.Main

public class Main
extends java.lang.Object

This is the main driver for BSF to be run on the command line to eval/exec/compile scripts directly.

Author:
  Sanjiva Weerawarana, Matthew J. Duftler, Sam Ruby

Constructor Summary
`Main()`

Method Summary
`static void` | `main(java.lang.String[] args)` Static driver to be able to run BSF scripts from the command line.

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(java.lang.String[] args)
                     throws java.io.IOException

  Static driver to be able to run BSF scripts from the command line.

  Parameters:
    `args` - command line arguments
  Throws:
    `java.io.IOException` - if any I/O error while loading script

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