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, processLine
getArguments, getCommand, getContext, getOutput
public WriteMatchingLinesWithLineNumberProcessor(GrepCommand command, ExecutionContext context, LineProcessor output, LineMatcher matcher)
protected boolean processLine(Line line, boolean isMatch)
processLine
in class AbstractGrepProcessor
Copyright © 2024. All rights reserved.