class CheckProcessor extends AbstractSortProcessor
ExitValueException
if the file is not sorted.| Constructor and Description |
|---|
CheckProcessor(SortCommand command,
ExecutionContext context,
LineProcessor output) |
| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
boolean |
processLine(Line line) |
void |
reset()
Resets the last line, for instance when a new file should be checked.
|
getComparatorgetArguments, getCommand, getContext, getOutputpublic CheckProcessor(SortCommand command, ExecutionContext context, LineProcessor output)
public boolean processLine(Line line)
public void finish()
public void reset()
Copyright © 2016. All Rights Reserved.