public interface TailOptions extends OptionSet<TailOption>
tail
command.
It is recommended to use Tail.Options
to specify a valid
combination of options.
The options for the tail 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. | |||
-s | --countFromStart | The count argument is relative to the beginning of the file
instead of counting from the end of the file. For instance,
tail -s 10 prints the lines starting from line 10;
tail -s 1 prints the whole file. |
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 |
TailOptions.Default
Default implementation for a modifiable option set.
|
Modifier and Type | Field and Description |
---|---|
static ValueConverter<TailOptions> |
CONVERTER
Value converter for
TailOptions based on an OptionSetConverters.OptionSetConverter . |
static TailOptions |
EMPTY
Constant for an empty option set.
|
asSet, isSet, iterator, optionType, size, useAcronymFor
forEach, spliterator
static final TailOptions EMPTY
static final ValueConverter<TailOptions> CONVERTER
TailOptions
based on an OptionSetConverters.OptionSetConverter
.Copyright © 2024. All rights reserved.