Package | Description |
---|---|
org.unix4j.processor |
Defines
LineProcessor and
InputProcessor , two interfaces
used for line-by-line input processing, and provides some basic
implementations for both interfaces. |
org.unix4j.unix.grep |
Contains private classes used by the
grep command. |
org.unix4j.unix.wc |
Contains private classes used by the
wc command. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultInputProcessor
The
DefaultInputProcessor simply writes every line passed to
DefaultInputProcessor.processLine(Input, Line, LineProcessor) to the output. |
Constructor and Description |
---|
InputLineProcessor(Input input,
InputProcessor processor,
LineProcessor output) |
MultipleInputLineProcessor(List<? extends Input> inputs,
InputProcessor processor,
LineProcessor output)
Constructor with input objects (usually file operands of the command) and
the input processor of the command that reads from the standard input.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
CountMatchingLinesInputProcessor
Counts the matching lines and writes the count and the file name to the
output.
|
(package private) class |
WriteFilesWithMatchingLinesProcessor
Counts the matching lines and writes the count and the file name to the
output.
|
(package private) class |
WriteMatchingLinesInputProcessor
Counts the matching lines and writes the count and the file name to the
output.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
WcFileProcessor
Input processor for line, word and char count for a single file.
|
Copyright © 2024. All rights reserved.