class InsertProcessor extends AbstractTextProcessor
textregexpargs, command, output| Constructor and Description |
|---|
InsertProcessor(Command command,
SedArguments args,
LineProcessor output) |
InsertProcessor(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. |
parsePatternFlagsfinish, getRegexp, getReplacement, indexOfNextDelimiterpublic InsertProcessor(Command command, SedArguments args, LineProcessor output)
public InsertProcessor(Command command, String script, SedArguments args, LineProcessor output)
public boolean processLine(Line line)
LineProcessorLineProcessor 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 © 2025. All rights reserved.