public class GrepCommand extends SimpleJShellBuiltin
| Constructor and Description |
|---|
GrepCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
configureFirst(net.thevpc.nuts.NutsCommandLine commandLine,
JShellExecutionContext context) |
protected void |
execBuiltin(net.thevpc.nuts.NutsCommandLine commandLine,
JShellExecutionContext context) |
protected int |
grepFile(FileInfo f,
Pattern p,
net.thevpc.nuts.toolbox.nsh.cmds.GrepCommand.Options options,
JShellExecutionContext context,
boolean prefixFileName,
List<net.thevpc.nuts.toolbox.nsh.cmds.GrepCommand.GrepResultItem> results) |
net.thevpc.nuts.NutsTextStyles |
selectionStyle(net.thevpc.nuts.toolbox.nsh.cmds.GrepCommand.Options options) |
static String |
simpexpToRegexp(String pattern,
boolean contains) |
createOptions, execImpl, initCommandLineautoComplete, cmdLine, exec, getHelp, getHelpHeader, getName, getSupportLevel, isEnabled, setEnabled, throwExecutionExceptionprotected boolean configureFirst(net.thevpc.nuts.NutsCommandLine commandLine,
JShellExecutionContext context)
configureFirst in class SimpleJShellBuiltinprotected void execBuiltin(net.thevpc.nuts.NutsCommandLine commandLine,
JShellExecutionContext context)
execBuiltin in class SimpleJShellBuiltinprotected int grepFile(FileInfo f, Pattern p, net.thevpc.nuts.toolbox.nsh.cmds.GrepCommand.Options options, JShellExecutionContext context, boolean prefixFileName, List<net.thevpc.nuts.toolbox.nsh.cmds.GrepCommand.GrepResultItem> results)
public net.thevpc.nuts.NutsTextStyles selectionStyle(net.thevpc.nuts.toolbox.nsh.cmds.GrepCommand.Options options)
Copyright © 2022 vpc open source initiative. All rights reserved.