net.jxta.impl.shell.bin.grep
Class grep
java.lang.Object
|
+--net.jxta.impl.shell.ShellApp
|
+--net.jxta.impl.shell.bin.grep.grep
- public class grep
- extends ShellApp
grep
- 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 |
grep()
|
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
countOnly
protected boolean countOnly
ignoreCase
protected boolean ignoreCase
showLineNums
protected boolean showLineNums
invertMatch
protected boolean invertMatch
pattern
protected java.lang.String pattern
grep
public grep()
stopApp
public void stopApp()
- Overrides:
- stopApp in class ShellApp
startApp
public int startApp(java.lang.String[] args)
- Overrides:
- startApp in class ShellApp
syntaxError
protected int syntaxError()
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
grepData
protected void grepData(java.lang.String inData)
syntax
protected java.lang.String syntax()
help
public void help()
- Overrides:
- help in class ShellApp