| Package | Description |
|---|---|
| org.unix4j |
Provides a single class
Unix4j with static methods
serving as entry point to build commands and command chains joining several
commands. |
| org.unix4j.unix |
Provides implementations for commands inspired by well known unix commands.
|
| org.unix4j.unix.head |
Contains private classes used by the
head command. |
| Modifier and Type | Method and Description |
|---|---|
static Unix4jCommandBuilder |
Unix4j.head(HeadOptions options,
long count,
File... files)
Reads the first
count lines or characters from each of the
specified files and writes them to the standard output. |
static Unix4jCommandBuilder |
Unix4j.head(HeadOptions options,
long count,
Input... inputs)
Reads the first
count lines or characters from each of the
specified inputs and writes them to the standard output. |
static Unix4jCommandBuilder |
Unix4j.head(HeadOptions options,
long count,
String... paths)
Reads the first
count lines or characters from each of the
specified files and writes them to the standard output. |
| Modifier and Type | Method and Description |
|---|---|
Unix4jCommandBuilder |
Unix4jCommandBuilder.head(HeadOptions options,
long count)
Reads the first
count lines or characters from the standard
input and writes them to the standard output. |
Unix4jCommandBuilder |
DefaultUnix4jCommandBuilder.head(HeadOptions options,
long count) |
R |
Head.Interface.head(HeadOptions options,
long count)
Reads the first
count lines or characters from the standard
input and writes them to the standard output. |
Unix4jCommandBuilder |
Unix4jCommandBuilder.head(HeadOptions options,
long count,
File... files)
Reads the first
count lines or characters from each of the
specified files and writes them to the standard output. |
Unix4jCommandBuilder |
DefaultUnix4jCommandBuilder.head(HeadOptions options,
long count,
File... files) |
R |
Head.Interface.head(HeadOptions options,
long count,
File... files)
Reads the first
count lines or characters from each of the
specified files and writes them to the standard output. |
Unix4jCommandBuilder |
Unix4jCommandBuilder.head(HeadOptions options,
long count,
Input... inputs)
Reads the first
count lines or characters from each of the
specified inputs and writes them to the standard output. |
Unix4jCommandBuilder |
DefaultUnix4jCommandBuilder.head(HeadOptions options,
long count,
Input... inputs) |
R |
Head.Interface.head(HeadOptions options,
long count,
Input... inputs)
Reads the first
count lines or characters from each of the
specified inputs and writes them to the standard output. |
Unix4jCommandBuilder |
Unix4jCommandBuilder.head(HeadOptions options,
long count,
String... paths)
Reads the first
count lines or characters from each of the
specified files and writes them to the standard output. |
Unix4jCommandBuilder |
DefaultUnix4jCommandBuilder.head(HeadOptions options,
long count,
String... paths) |
R |
Head.Interface.head(HeadOptions options,
long count,
String... paths)
Reads the first
count lines or characters from each of the
specified files and writes them to the standard output. |
| Modifier and Type | Class and Description |
|---|---|
class |
HeadOption
Options for the
head command. |
static class |
HeadOptions.Default
Default implementation for a modifiable option set.
|
class |
HeadOptionSet_cq
|
| Modifier and Type | Field and Description |
|---|---|
static HeadOptions |
HeadOptions.EMPTY
Constant for an empty option set.
|
| Modifier and Type | Field and Description |
|---|---|
static ValueConverter<HeadOptions> |
HeadOptions.CONVERTER
Value converter for
HeadOptions based on an OptionSetConverters.OptionSetConverter. |
| Modifier and Type | Method and Description |
|---|---|
HeadOptions |
HeadArguments.getOptions()
Returns the options set containing the selected command options.
|
| Modifier and Type | Method and Description |
|---|---|
HeadCommand |
HeadFactory.head(HeadOptions options,
long count) |
HeadCommand |
HeadFactory.head(HeadOptions options,
long count,
File... files) |
HeadCommand |
HeadFactory.head(HeadOptions options,
long count,
Input... inputs) |
HeadCommand |
HeadFactory.head(HeadOptions options,
long count,
String... paths) |
| Constructor and Description |
|---|
HeadArguments(HeadOptions options)
Constructor with option set containing the selected command options.
|
Copyright © 2025. All rights reserved.