cs132.util
Class CommandLineLauncher.TextOutput

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

public abstract static class CommandLineLauncher.TextOutput
extends Object


Constructor Summary
CommandLineLauncher.TextOutput()
           
 
Method Summary
static CommandLineLauncher.Exit exit(int code)
          Returns a new CommandLineLauncher.Exit object.
protected abstract  void run(PrintWriter 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.TextOutput

public CommandLineLauncher.TextOutput()
Method Detail

run

protected abstract void run(PrintWriter 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)