net.jxta.impl.shell.bin.wc
Class wc
java.lang.Object
|
+--net.jxta.impl.shell.ShellApp
|
+--net.jxta.impl.shell.bin.wc.wc
- public class wc
- extends ShellApp
wc
- 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 |
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 |
env
protected ShellEnv env
showLines
protected boolean showLines
showWords
protected boolean showWords
showChars
protected boolean showChars
wc
public wc()
stopApp
public void stopApp()
- Overrides:
- stopApp in class ShellApp
startApp
public int startApp(java.lang.String[] args)
- Overrides:
- startApp in class ShellApp
readStdin
protected void readStdin()
throws java.io.IOException
readStdinConsole
protected java.lang.String readStdinConsole()
throws java.io.IOException
readStdinPipe
protected java.lang.String readStdinPipe()
throws java.io.IOException
readAdvertisement
protected void readAdvertisement(net.jxta.document.Advertisement adv)
throws java.lang.Exception
readDocument
protected void readDocument(net.jxta.document.Document doc)
throws java.lang.Exception
wcCount
protected void wcCount(java.lang.String inData)
syntax
protected java.lang.String syntax()
help
public void help()
- Overrides:
- help in class ShellApp