net.jxta.impl.shell.bin.Shell
Class Shell
java.lang.Object
|
+--net.jxta.impl.shell.ShellApp
|
+--net.jxta.impl.shell.bin.Shell.Shell
- public class Shell
- extends ShellApp
- implements java.lang.Runnable
This class implements a JXTA Shell
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 |
Shell()
|
Method Summary |
void |
help()
|
void |
info()
|
void |
init(net.jxta.peergroup.PeerGroup thisGroup,
net.jxta.document.Advertisement a)
|
boolean |
isRootShell()
|
void |
run()
|
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,
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 |
ThisShell
public static final java.lang.String ThisShell
PromptString
public static final java.lang.String PromptString
History
public static final java.lang.String History
ParentShell
public static final java.lang.String ParentShell
Shell
public Shell()
isRootShell
public boolean isRootShell()
- Overrides:
- isRootShell in class ShellApp
init
public void init(net.jxta.peergroup.PeerGroup thisGroup,
net.jxta.document.Advertisement a)
- Overrides:
- init in class ShellApp
startApp
public int startApp(java.lang.String[] args)
- Overrides:
- startApp in class ShellApp
stopApp
public void stopApp()
- Overrides:
- stopApp in class ShellApp
run
public void run()
- Specified by:
- run in interface java.lang.Runnable
help
public void help()
- Overrides:
- help in class ShellApp
info
public void info()