class DeleteProcessor extends AbstractRegexpProcessor
regexp
args, command, output
Constructor and Description |
---|
DeleteProcessor(Command command,
SedArguments args,
LineProcessor output) |
DeleteProcessor(Command command,
String script,
SedArguments args,
LineProcessor output) |
Modifier and Type | Method and Description |
---|---|
boolean |
processLine(Line line)
Processes a single line and returns true if this
LineProcessor is
ready to process more lines. |
parsePatternFlags
finish, getRegexp, getReplacement, indexOfNextDelimiter
public DeleteProcessor(Command command, SedArguments args, LineProcessor output)
public DeleteProcessor(Command command, String script, SedArguments args, LineProcessor output)
public boolean processLine(Line line)
LineProcessor
LineProcessor
is
ready to process more lines. Returning false indicates that the process
can be finished
because subsequent lines would not
change the result anyway.line
- the line to processLineProcessor
is ready to process more
lines, and false if it does not require any more input linesCopyright © 2024. All rights reserved.