cs132.util
Class CommandLineLauncher.RawOutput

java.lang.Object
  extended by cs132.util.CommandLineLauncher.RawOutput
Enclosing class:
CommandLineLauncher

public abstract static class CommandLineLauncher.RawOutput
extends Object


Constructor Summary
CommandLineLauncher.RawOutput()
           
 
Method Summary
static CommandLineLauncher.Exit exit(int code)
          Returns a new CommandLineLauncher.Exit object.
protected abstract  void run(PrintStream out, InputStream in, PrintWriter err, String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLineLauncher.RawOutput

public CommandLineLauncher.RawOutput()
Method Detail

run

protected abstract void run(PrintStream out,
                            InputStream in,
                            PrintWriter err,
                            String[] args)

exit

public static CommandLineLauncher.Exit exit(int code)
Returns a new CommandLineLauncher.Exit object. Example usage: throw exit(1)