net.fortytwo.ripple.cli
Class CommandLineInterface

java.lang.Object
  extended by net.fortytwo.ripple.cli.CommandLineInterface

public class CommandLineInterface
extends Object

A command-line interpreter/browser which coordinates user interaction with a Ripple query engine.


Constructor Summary
CommandLineInterface(QueryEngine qe, InputStream is)
          Console input: is --> filter --> consoleReaderInput --> reader --> readOut --> writeIn --> interpreter

Normal output: [commands and queries] --> queryEngine.getPrintStream()

Error output: alert() --> queryEngine.getErrorPrintStream()

 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLineInterface

public CommandLineInterface(QueryEngine qe,
                            InputStream is)
                     throws RippleException
Console input: is --> filter --> consoleReaderInput --> reader --> readOut --> writeIn --> interpreter

Normal output: [commands and queries] --> queryEngine.getPrintStream()

Error output: alert() --> queryEngine.getErrorPrintStream()

Throws:
RippleException
Method Detail

run

public void run()
         throws RippleException
Throws:
RippleException


Copyright © 2007-2011 fortytwo.net. All Rights Reserved.