final class HeadCharsProcessor extends AbstractHeadProcessor
count, counter| Constructor and Description |
|---|
HeadCharsProcessor(HeadCommand command,
ExecutionContext context,
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. |
finish, resetCountergetArguments, getCommand, getContext, getOutputHeadCharsProcessor(HeadCommand command, ExecutionContext context, 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.