class ChangeProcessor extends AbstractTextProcessor
text
regexp
args, command, output
Constructor and Description |
---|
ChangeProcessor(Command command,
SedArguments args,
LineProcessor output) |
ChangeProcessor(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 ChangeProcessor(Command command, SedArguments args, LineProcessor output)
public ChangeProcessor(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.