|
Project JXTA | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.jxta.impl.shell.ShellApp | +--net.jxta.impl.shell.bin.sql.sql
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.
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 |
public sql()
Method Detail |
public void stopApp()
public int startApp(java.lang.String[] args)
public void help()
|
Project JXTA | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |