public interface WcOptions extends OptionSet<WcOption>
wc command.
It is recommended to use Wc.Options to specify a valid
combination of options.
The options for the wc command are:
-l | --lines | Executes a count of lines and writes this count to the output. | |||
-w | --words | Executes a count of words and writes this count to the output. A
word is a non-zero-length string of characters delimited by white
space as defined by Character.isWhitespace(char). | |||
-m | --chars | Executes a count of chars and writes this count to the output. |
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 |
WcOptions.Default
Default implementation for a modifiable option set.
|
| Modifier and Type | Field and Description |
|---|---|
static ValueConverter<WcOptions> |
CONVERTER
Value converter for
WcOptions based on an OptionSetConverters.OptionSetConverter. |
static WcOptions |
EMPTY
Constant for an empty option set.
|
asSet, isSet, iterator, optionType, size, useAcronymForforEach, spliteratorstatic final ValueConverter<WcOptions> CONVERTER
WcOptions based on an OptionSetConverters.OptionSetConverter.Copyright © 2025. All rights reserved.