public interface HeadOptions extends OptionSet<HeadOption>
head
command.
It is recommended to use Head.Options
to specify a valid
combination of options.
The options for the head command are:
-c | --chars | The count argument is in units of characters instead of
lines. Starts from 1 and includes line ending characters. | |||
-q | --suppressHeaders | Suppresses printing of headers when multiple files are being examined. |
This interface serves as an alias for the extended interface to simplify the command signature methods by avoiding generic parameters.
Modifier and Type | Interface and Description |
---|---|
static class |
HeadOptions.Default
Default implementation for a modifiable option set.
|
Modifier and Type | Field and Description |
---|---|
static ValueConverter<HeadOptions> |
CONVERTER
Value converter for
HeadOptions based on an OptionSetConverters.OptionSetConverter . |
static HeadOptions |
EMPTY
Constant for an empty option set.
|
asSet, isSet, iterator, optionType, size, useAcronymFor
forEach, spliterator
static final HeadOptions EMPTY
static final ValueConverter<HeadOptions> CONVERTER
HeadOptions
based on an OptionSetConverters.OptionSetConverter
.Copyright © 2024. All rights reserved.