Project JXTA

net.jxta.impl.shell.bin.sql
Class sql

java.lang.Object
  |
  +--net.jxta.impl.shell.ShellApp
        |
        +--net.jxta.impl.shell.bin.sql.sql

public class sql
extends ShellApp

The sql class provides client access to a database base server. NOTE: This initial implementation is not very clever, nor very extensible. It does, however, raise several issues that may occur in other commands. For example, it might be more interesting to run an "sql subshell" instead of a command command handler in the currently running shell. Or the sql command could induce modal behavior on the shell, where shell commands behavior depends on the current shell mode. Another issue that is raised here is how command line options for commands are handled. Currently options are spread between the Shell code and the GetOpts class. Short of rewriting Getopts, this class has to do further command line processing.

Since:
JXTA 1.0

Fields inherited from class net.jxta.impl.shell.ShellApp
adv, appMiscError, appNoError, appParamError, appSpawned, consin, consout, currentcmdline, dependsOn, group, inputPipe, outputPipe, pipes, returnVar, started, stopped
 
Constructor Summary
sql()
           
 
Method Summary
 void help()
           
 int startApp(java.lang.String[] args)
           
 void stopApp()
           
 
Methods inherited from class net.jxta.impl.shell.ShellApp
consPollInput, consprint, consprintln, consWaitForInput, getAdvertisement, getEnv, getGroup, getInputConsPipe, getInputPipe, getOutputConsPipe, getOutputPipe, getReturnVariable, init, isRootShell, pollInput, print, println, setAdvertisement, setEnv, setGroup, setInputConsPipe, setInputPipe, setOutputConsPipe, setOutputPipe, setReturnVariable, waitForInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

sql

public sql()
Method Detail

stopApp

public void stopApp()
Overrides:
stopApp in class ShellApp

startApp

public int startApp(java.lang.String[] args)
Overrides:
startApp in class ShellApp

help

public void help()
Overrides:
help in class ShellApp

Project JXTA