final class WriteMatchingLinesWithLineNumberProcessor extends AbstractGrepProcessor
LineMatcher passed to the constructor.| Constructor and Description |
|---|
WriteMatchingLinesWithLineNumberProcessor(GrepCommand command,
ExecutionContext context,
LineProcessor output,
LineMatcher matcher) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
processLine(Line line,
boolean isMatch) |
finish, processLinegetArguments, getCommand, getContext, getOutputpublic WriteMatchingLinesWithLineNumberProcessor(GrepCommand command, ExecutionContext context, LineProcessor output, LineMatcher matcher)
protected boolean processLine(Line line, boolean isMatch)
processLine in class AbstractGrepProcessorCopyright © 2025. All rights reserved.