public enum GrepOptionSet_Fcilnvx extends Enum<GrepOptionSet_Fcilnvx> implements GrepOptions
grep
command with
the following options: c
, F
, i
, v
, n
, l
, x
.
Application code does normally not directly refer to this class;
Grep.Options
should be used instead to specify command
options. See also GrepOptions
for more information.
GrepOptions.Default
Modifier and Type | Field and Description |
---|---|
GrepOptionSet_Fcilnvx |
c
Option
"-c" : Suppress normal output; instead print a count of matching lines for
each input file. |
GrepOptionSet_Fcilnvx |
count
Option
"--count" : Suppress normal output; instead print a count of matching lines for
each input file. |
GrepOptionSet_Fcilnvx |
F
Option
"-F" : Use fixed-strings matching instead of regular expressions. |
GrepOptionSet_Fcilnvx |
fixedStrings
Option
"--fixedStrings" : Use fixed-strings matching instead of regular expressions. |
GrepOptionSet_Fcilnvx |
i
Option
"-i" : Match lines ignoring the case when comparing the strings, also known
from Unix with its acronym 'i'. |
GrepOptionSet_Fcilnvx |
ignoreCase
Option
"--ignoreCase" : Match lines ignoring the case when comparing the strings, also known
from Unix with its acronym 'i'. |
GrepOptionSet_Fcilnvx |
invertMatch
Option
"--invertMatch" : Invert the match result, that is, a non-matching line is written to
the output and a matching line is not. |
GrepOptionSet_Fcilnvx |
l
Option
"-l" : Suppress normal output; instead print the name of each input file
from which output would normally have been printed. |
GrepOptionSet_Fcilnvx |
lineNumber
Option
"--lineNumber" : Prefix each line of output with the line number within its input
file. |
GrepOptionSet_Fcilnvx |
matchingFiles
Option
"--matchingFiles" : Suppress normal output; instead print the name of each input file
from which output would normally have been printed. |
GrepOptionSet_Fcilnvx |
n
Option
"-n" : Prefix each line of output with the line number within its input
file. |
GrepOptionSet_Fcilnvx |
v
Option
"-v" : Invert the match result, that is, a non-matching line is written to
the output and a matching line is not. |
GrepOptionSet_Fcilnvx |
wholeLine
Option
"--wholeLine" : Select only those matches that exactly match the whole line
excluding the terminating line ending. |
GrepOptionSet_Fcilnvx |
x
Option
"-x" : Select only those matches that exactly match the whole line
excluding the terminating line ending. |
CONVERTER, EMPTY
Modifier and Type | Method and Description |
---|---|
EnumSet<GrepOption> |
asSet()
Returns the set with the active options.
|
boolean |
isSet(GrepOption option)
Returns true if the specified
option is set and false otherwise |
Iterator<GrepOption> |
iterator()
Returns an immutable iterator with the active options of this option set.
|
Class<GrepOption> |
optionType()
Returns the option type class, usually an enum.
|
int |
size()
Returns the number of active options in this option set.
|
boolean |
useAcronymFor(GrepOption option)
Returns true if the
acronym should be used in
for the specified option string representations. |
static GrepOptionSet_Fcilnvx |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrepOptionSet_Fcilnvx[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
forEach, spliterator
public static final GrepOptionSet_Fcilnvx Active_Fcilnvx
public static final GrepOptionSet_Fcilnvx Active_Fcilnvx_long
public static final GrepOptionSet_Fcilnvx Active_Fcilnv
public static final GrepOptionSet_Fcilnvx Active_Fcilnv_long
public static final GrepOptionSet_Fcilnvx Active_Fcinvx
public static final GrepOptionSet_Fcilnvx Active_Fcinvx_long
public static final GrepOptionSet_Fcilnvx Active_Filnvx
public static final GrepOptionSet_Fcilnvx Active_Filnvx_long
public static final GrepOptionSet_Fcilnvx Active_Fcilvx
public static final GrepOptionSet_Fcilnvx Active_Fcilvx_long
public static final GrepOptionSet_Fcilnvx Active_cilnvx
public static final GrepOptionSet_Fcilnvx Active_cilnvx_long
public static final GrepOptionSet_Fcilnvx Active_Fcilnx
public static final GrepOptionSet_Fcilnvx Active_Fcilnx_long
public static final GrepOptionSet_Fcilnvx Active_Fclnvx
public static final GrepOptionSet_Fcilnvx Active_Fclnvx_long
public static final GrepOptionSet_Fcilnvx Active_Fcinv
public static final GrepOptionSet_Fcilnvx Active_Fcinv_long
public static final GrepOptionSet_Fcilnvx Active_Filnv
public static final GrepOptionSet_Fcilnvx Active_Filnv_long
public static final GrepOptionSet_Fcilnvx Active_Finvx
public static final GrepOptionSet_Fcilnvx Active_Finvx_long
public static final GrepOptionSet_Fcilnvx Active_Fcilv
public static final GrepOptionSet_Fcilnvx Active_Fcilv_long
public static final GrepOptionSet_Fcilnvx Active_Fcivx
public static final GrepOptionSet_Fcilnvx Active_Fcivx_long
public static final GrepOptionSet_Fcilnvx Active_Filvx
public static final GrepOptionSet_Fcilnvx Active_Filvx_long
public static final GrepOptionSet_Fcilnvx Active_cilnv
public static final GrepOptionSet_Fcilnvx Active_cilnv_long
public static final GrepOptionSet_Fcilnvx Active_cinvx
public static final GrepOptionSet_Fcilnvx Active_cinvx_long
public static final GrepOptionSet_Fcilnvx Active_ilnvx
public static final GrepOptionSet_Fcilnvx Active_ilnvx_long
public static final GrepOptionSet_Fcilnvx Active_cilvx
public static final GrepOptionSet_Fcilnvx Active_cilvx_long
public static final GrepOptionSet_Fcilnvx Active_Fciln
public static final GrepOptionSet_Fcilnvx Active_Fciln_long
public static final GrepOptionSet_Fcilnvx Active_Fcinx
public static final GrepOptionSet_Fcilnvx Active_Fcinx_long
public static final GrepOptionSet_Fcilnvx Active_Filnx
public static final GrepOptionSet_Fcilnvx Active_Filnx_long
public static final GrepOptionSet_Fcilnvx Active_Fcilx
public static final GrepOptionSet_Fcilnvx Active_Fcilx_long
public static final GrepOptionSet_Fcilnvx Active_cilnx
public static final GrepOptionSet_Fcilnvx Active_cilnx_long
public static final GrepOptionSet_Fcilnvx Active_Fclnv
public static final GrepOptionSet_Fcilnvx Active_Fclnv_long
public static final GrepOptionSet_Fcilnvx Active_Fcnvx
public static final GrepOptionSet_Fcilnvx Active_Fcnvx_long
public static final GrepOptionSet_Fcilnvx Active_Flnvx
public static final GrepOptionSet_Fcilnvx Active_Flnvx_long
public static final GrepOptionSet_Fcilnvx Active_Fclvx
public static final GrepOptionSet_Fcilnvx Active_Fclvx_long
public static final GrepOptionSet_Fcilnvx Active_clnvx
public static final GrepOptionSet_Fcilnvx Active_clnvx_long
public static final GrepOptionSet_Fcilnvx Active_Fclnx
public static final GrepOptionSet_Fcilnvx Active_Fclnx_long
public static final GrepOptionSet_Fcilnvx Active_Finv
public static final GrepOptionSet_Fcilnvx Active_Finv_long
public static final GrepOptionSet_Fcilnvx Active_Fciv
public static final GrepOptionSet_Fcilnvx Active_Fciv_long
public static final GrepOptionSet_Fcilnvx Active_Filv
public static final GrepOptionSet_Fcilnvx Active_Filv_long
public static final GrepOptionSet_Fcilnvx Active_Fivx
public static final GrepOptionSet_Fcilnvx Active_Fivx_long
public static final GrepOptionSet_Fcilnvx Active_cinv
public static final GrepOptionSet_Fcilnvx Active_cinv_long
public static final GrepOptionSet_Fcilnvx Active_ilnv
public static final GrepOptionSet_Fcilnvx Active_ilnv_long
public static final GrepOptionSet_Fcilnvx Active_invx
public static final GrepOptionSet_Fcilnvx Active_invx_long
public static final GrepOptionSet_Fcilnvx Active_cilv
public static final GrepOptionSet_Fcilnvx Active_cilv_long
public static final GrepOptionSet_Fcilnvx Active_civx
public static final GrepOptionSet_Fcilnvx Active_civx_long
public static final GrepOptionSet_Fcilnvx Active_ilvx
public static final GrepOptionSet_Fcilnvx Active_ilvx_long
public static final GrepOptionSet_Fcilnvx Active_Fcin
public static final GrepOptionSet_Fcilnvx Active_Fcin_long
public static final GrepOptionSet_Fcilnvx Active_Filn
public static final GrepOptionSet_Fcilnvx Active_Filn_long
public static final GrepOptionSet_Fcilnvx Active_Finx
public static final GrepOptionSet_Fcilnvx Active_Finx_long
public static final GrepOptionSet_Fcilnvx Active_Fcil
public static final GrepOptionSet_Fcilnvx Active_Fcil_long
public static final GrepOptionSet_Fcilnvx Active_Fcix
public static final GrepOptionSet_Fcilnvx Active_Fcix_long
public static final GrepOptionSet_Fcilnvx Active_Filx
public static final GrepOptionSet_Fcilnvx Active_Filx_long
public static final GrepOptionSet_Fcilnvx Active_ciln
public static final GrepOptionSet_Fcilnvx Active_ciln_long
public static final GrepOptionSet_Fcilnvx Active_cinx
public static final GrepOptionSet_Fcilnvx Active_cinx_long
public static final GrepOptionSet_Fcilnvx Active_ilnx
public static final GrepOptionSet_Fcilnvx Active_ilnx_long
public static final GrepOptionSet_Fcilnvx Active_cilx
public static final GrepOptionSet_Fcilnvx Active_cilx_long
public static final GrepOptionSet_Fcilnvx Active_Fcnv
public static final GrepOptionSet_Fcilnvx Active_Fcnv_long
public static final GrepOptionSet_Fcilnvx Active_Flnv
public static final GrepOptionSet_Fcilnvx Active_Flnv_long
public static final GrepOptionSet_Fcilnvx Active_Fnvx
public static final GrepOptionSet_Fcilnvx Active_Fnvx_long
public static final GrepOptionSet_Fcilnvx Active_Fclv
public static final GrepOptionSet_Fcilnvx Active_Fclv_long
public static final GrepOptionSet_Fcilnvx Active_Fcvx
public static final GrepOptionSet_Fcilnvx Active_Fcvx_long
public static final GrepOptionSet_Fcilnvx Active_Flvx
public static final GrepOptionSet_Fcilnvx Active_Flvx_long
public static final GrepOptionSet_Fcilnvx Active_clnv
public static final GrepOptionSet_Fcilnvx Active_clnv_long
public static final GrepOptionSet_Fcilnvx Active_cnvx
public static final GrepOptionSet_Fcilnvx Active_cnvx_long
public static final GrepOptionSet_Fcilnvx Active_lnvx
public static final GrepOptionSet_Fcilnvx Active_lnvx_long
public static final GrepOptionSet_Fcilnvx Active_clvx
public static final GrepOptionSet_Fcilnvx Active_clvx_long
public static final GrepOptionSet_Fcilnvx Active_Fcln
public static final GrepOptionSet_Fcilnvx Active_Fcln_long
public static final GrepOptionSet_Fcilnvx Active_Fcnx
public static final GrepOptionSet_Fcilnvx Active_Fcnx_long
public static final GrepOptionSet_Fcilnvx Active_Flnx
public static final GrepOptionSet_Fcilnvx Active_Flnx_long
public static final GrepOptionSet_Fcilnvx Active_Fclx
public static final GrepOptionSet_Fcilnvx Active_Fclx_long
public static final GrepOptionSet_Fcilnvx Active_clnx
public static final GrepOptionSet_Fcilnvx Active_clnx_long
public static final GrepOptionSet_Fcilnvx Active_Fiv
public static final GrepOptionSet_Fcilnvx Active_Fiv_long
public static final GrepOptionSet_Fcilnvx Active_inv
public static final GrepOptionSet_Fcilnvx Active_inv_long
public static final GrepOptionSet_Fcilnvx Active_civ
public static final GrepOptionSet_Fcilnvx Active_civ_long
public static final GrepOptionSet_Fcilnvx Active_ilv
public static final GrepOptionSet_Fcilnvx Active_ilv_long
public static final GrepOptionSet_Fcilnvx Active_ivx
public static final GrepOptionSet_Fcilnvx Active_ivx_long
public static final GrepOptionSet_Fcilnvx Active_Fin
public static final GrepOptionSet_Fcilnvx Active_Fin_long
public static final GrepOptionSet_Fcilnvx Active_Fci
public static final GrepOptionSet_Fcilnvx Active_Fci_long
public static final GrepOptionSet_Fcilnvx Active_Fil
public static final GrepOptionSet_Fcilnvx Active_Fil_long
public static final GrepOptionSet_Fcilnvx Active_Fix
public static final GrepOptionSet_Fcilnvx Active_Fix_long
public static final GrepOptionSet_Fcilnvx Active_cin
public static final GrepOptionSet_Fcilnvx Active_cin_long
public static final GrepOptionSet_Fcilnvx Active_iln
public static final GrepOptionSet_Fcilnvx Active_iln_long
public static final GrepOptionSet_Fcilnvx Active_inx
public static final GrepOptionSet_Fcilnvx Active_inx_long
public static final GrepOptionSet_Fcilnvx Active_cil
public static final GrepOptionSet_Fcilnvx Active_cil_long
public static final GrepOptionSet_Fcilnvx Active_cix
public static final GrepOptionSet_Fcilnvx Active_cix_long
public static final GrepOptionSet_Fcilnvx Active_ilx
public static final GrepOptionSet_Fcilnvx Active_ilx_long
public static final GrepOptionSet_Fcilnvx Active_Fnv
public static final GrepOptionSet_Fcilnvx Active_Fnv_long
public static final GrepOptionSet_Fcilnvx Active_Fcv
public static final GrepOptionSet_Fcilnvx Active_Fcv_long
public static final GrepOptionSet_Fcilnvx Active_Flv
public static final GrepOptionSet_Fcilnvx Active_Flv_long
public static final GrepOptionSet_Fcilnvx Active_Fvx
public static final GrepOptionSet_Fcilnvx Active_Fvx_long
public static final GrepOptionSet_Fcilnvx Active_cnv
public static final GrepOptionSet_Fcilnvx Active_cnv_long
public static final GrepOptionSet_Fcilnvx Active_lnv
public static final GrepOptionSet_Fcilnvx Active_lnv_long
public static final GrepOptionSet_Fcilnvx Active_nvx
public static final GrepOptionSet_Fcilnvx Active_nvx_long
public static final GrepOptionSet_Fcilnvx Active_clv
public static final GrepOptionSet_Fcilnvx Active_clv_long
public static final GrepOptionSet_Fcilnvx Active_cvx
public static final GrepOptionSet_Fcilnvx Active_cvx_long
public static final GrepOptionSet_Fcilnvx Active_lvx
public static final GrepOptionSet_Fcilnvx Active_lvx_long
public static final GrepOptionSet_Fcilnvx Active_Fcn
public static final GrepOptionSet_Fcilnvx Active_Fcn_long
public static final GrepOptionSet_Fcilnvx Active_Fln
public static final GrepOptionSet_Fcilnvx Active_Fln_long
public static final GrepOptionSet_Fcilnvx Active_Fnx
public static final GrepOptionSet_Fcilnvx Active_Fnx_long
public static final GrepOptionSet_Fcilnvx Active_Fcl
public static final GrepOptionSet_Fcilnvx Active_Fcl_long
public static final GrepOptionSet_Fcilnvx Active_Fcx
public static final GrepOptionSet_Fcilnvx Active_Fcx_long
public static final GrepOptionSet_Fcilnvx Active_Flx
public static final GrepOptionSet_Fcilnvx Active_Flx_long
public static final GrepOptionSet_Fcilnvx Active_cln
public static final GrepOptionSet_Fcilnvx Active_cln_long
public static final GrepOptionSet_Fcilnvx Active_cnx
public static final GrepOptionSet_Fcilnvx Active_cnx_long
public static final GrepOptionSet_Fcilnvx Active_lnx
public static final GrepOptionSet_Fcilnvx Active_lnx_long
public static final GrepOptionSet_Fcilnvx Active_clx
public static final GrepOptionSet_Fcilnvx Active_clx_long
public static final GrepOptionSet_Fcilnvx Active_iv
public static final GrepOptionSet_Fcilnvx Active_iv_long
public static final GrepOptionSet_Fcilnvx Active_Fi
public static final GrepOptionSet_Fcilnvx Active_Fi_long
public static final GrepOptionSet_Fcilnvx Active_in
public static final GrepOptionSet_Fcilnvx Active_in_long
public static final GrepOptionSet_Fcilnvx Active_ci
public static final GrepOptionSet_Fcilnvx Active_ci_long
public static final GrepOptionSet_Fcilnvx Active_il
public static final GrepOptionSet_Fcilnvx Active_il_long
public static final GrepOptionSet_Fcilnvx Active_ix
public static final GrepOptionSet_Fcilnvx Active_ix_long
public static final GrepOptionSet_Fcilnvx Active_Fv
public static final GrepOptionSet_Fcilnvx Active_Fv_long
public static final GrepOptionSet_Fcilnvx Active_nv
public static final GrepOptionSet_Fcilnvx Active_nv_long
public static final GrepOptionSet_Fcilnvx Active_cv
public static final GrepOptionSet_Fcilnvx Active_cv_long
public static final GrepOptionSet_Fcilnvx Active_lv
public static final GrepOptionSet_Fcilnvx Active_lv_long
public static final GrepOptionSet_Fcilnvx Active_vx
public static final GrepOptionSet_Fcilnvx Active_vx_long
public static final GrepOptionSet_Fcilnvx Active_Fn
public static final GrepOptionSet_Fcilnvx Active_Fn_long
public static final GrepOptionSet_Fcilnvx Active_Fc
public static final GrepOptionSet_Fcilnvx Active_Fc_long
public static final GrepOptionSet_Fcilnvx Active_Fl
public static final GrepOptionSet_Fcilnvx Active_Fl_long
public static final GrepOptionSet_Fcilnvx Active_Fx
public static final GrepOptionSet_Fcilnvx Active_Fx_long
public static final GrepOptionSet_Fcilnvx Active_cn
public static final GrepOptionSet_Fcilnvx Active_cn_long
public static final GrepOptionSet_Fcilnvx Active_ln
public static final GrepOptionSet_Fcilnvx Active_ln_long
public static final GrepOptionSet_Fcilnvx Active_nx
public static final GrepOptionSet_Fcilnvx Active_nx_long
public static final GrepOptionSet_Fcilnvx Active_cl
public static final GrepOptionSet_Fcilnvx Active_cl_long
public static final GrepOptionSet_Fcilnvx Active_cx
public static final GrepOptionSet_Fcilnvx Active_cx_long
public static final GrepOptionSet_Fcilnvx Active_lx
public static final GrepOptionSet_Fcilnvx Active_lx_long
public static final GrepOptionSet_Fcilnvx Active_i
i
.public static final GrepOptionSet_Fcilnvx Active_i_long
i
.public static final GrepOptionSet_Fcilnvx Active_v
v
.public static final GrepOptionSet_Fcilnvx Active_v_long
v
.public static final GrepOptionSet_Fcilnvx Active_F
F
.public static final GrepOptionSet_Fcilnvx Active_F_long
F
.public static final GrepOptionSet_Fcilnvx Active_n
n
.public static final GrepOptionSet_Fcilnvx Active_n_long
n
.public static final GrepOptionSet_Fcilnvx Active_c
c
.public static final GrepOptionSet_Fcilnvx Active_c_long
c
.public static final GrepOptionSet_Fcilnvx Active_l
l
.public static final GrepOptionSet_Fcilnvx Active_l_long
l
.public static final GrepOptionSet_Fcilnvx Active_x
x
.public static final GrepOptionSet_Fcilnvx Active_x_long
x
.public final GrepOptionSet_Fcilnvx c
"-c"
: Suppress normal output; instead print a count of matching lines for
each input file. With the -v
, --invertMatch
option,
count non-matching lines.
The option "-c"
is equivalent to the "--
count
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "-c"
. If the option "-c"
is already set, the field c
points to the enum constant itself
as it already represents the current set of options.
public final GrepOptionSet_Fcilnvx count
"--count"
: Suppress normal output; instead print a count of matching lines for
each input file. With the -v
, --invertMatch
option,
count non-matching lines.
The option "--count"
is equivalent to the "-
c
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--count"
. If the option "--count"
is already set, the field count
points to the enum constant itself
as it already represents the current set of options.
public final GrepOptionSet_Fcilnvx F
"-F"
: Use fixed-strings matching instead of regular expressions. This is
usually faster than the standard regexp version.
(This option is ignored if a pattern
operand is specified
instead of the regexp
string).
The option "-F"
is equivalent to the "--
fixedStrings
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "-F"
. If the option "-F"
is already set, the field F
points to the enum constant itself
as it already represents the current set of options.
public final GrepOptionSet_Fcilnvx fixedStrings
"--fixedStrings"
: Use fixed-strings matching instead of regular expressions. This is
usually faster than the standard regexp version.
(This option is ignored if a pattern
operand is specified
instead of the regexp
string).
The option "--fixedStrings"
is equivalent to the "-
F
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--fixedStrings"
. If the option "--fixedStrings"
is already set, the field fixedStrings
points to the enum constant itself
as it already represents the current set of options.
public final GrepOptionSet_Fcilnvx i
"-i"
: Match lines ignoring the case when comparing the strings, also known
from Unix with its acronym 'i'.
The option "-i"
is equivalent to the "--
ignoreCase
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "-i"
. If the option "-i"
is already set, the field i
points to the enum constant itself
as it already represents the current set of options.
public final GrepOptionSet_Fcilnvx ignoreCase
"--ignoreCase"
: Match lines ignoring the case when comparing the strings, also known
from Unix with its acronym 'i'.
The option "--ignoreCase"
is equivalent to the "-
i
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--ignoreCase"
. If the option "--ignoreCase"
is already set, the field ignoreCase
points to the enum constant itself
as it already represents the current set of options.
public final GrepOptionSet_Fcilnvx v
"-v"
: Invert the match result, that is, a non-matching line is written to
the output and a matching line is not. This option is also known
from Unix with its acronym 'v'.
The option "-v"
is equivalent to the "--
invertMatch
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "-v"
. If the option "-v"
is already set, the field v
points to the enum constant itself
as it already represents the current set of options.
public final GrepOptionSet_Fcilnvx invertMatch
"--invertMatch"
: Invert the match result, that is, a non-matching line is written to
the output and a matching line is not. This option is also known
from Unix with its acronym 'v'.
The option "--invertMatch"
is equivalent to the "-
v
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--invertMatch"
. If the option "--invertMatch"
is already set, the field invertMatch
points to the enum constant itself
as it already represents the current set of options.
public final GrepOptionSet_Fcilnvx n
"-n"
: Prefix each line of output with the line number within its input
file.
The option "-n"
is equivalent to the "--
lineNumber
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "-n"
. If the option "-n"
is already set, the field n
points to the enum constant itself
as it already represents the current set of options.
public final GrepOptionSet_Fcilnvx lineNumber
"--lineNumber"
: Prefix each line of output with the line number within its input
file.
The option "--lineNumber"
is equivalent to the "-
n
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--lineNumber"
. If the option "--lineNumber"
is already set, the field lineNumber
points to the enum constant itself
as it already represents the current set of options.
public final GrepOptionSet_Fcilnvx l
"-l"
: Suppress normal output; instead print the name of each input file
from which output would normally have been printed. The scanning
will stop on the first match.
The option "-l"
is equivalent to the "--
matchingFiles
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "-l"
. If the option "-l"
is already set, the field l
points to the enum constant itself
as it already represents the current set of options.
public final GrepOptionSet_Fcilnvx matchingFiles
"--matchingFiles"
: Suppress normal output; instead print the name of each input file
from which output would normally have been printed. The scanning
will stop on the first match.
The option "--matchingFiles"
is equivalent to the "-
l
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--matchingFiles"
. If the option "--matchingFiles"
is already set, the field matchingFiles
points to the enum constant itself
as it already represents the current set of options.
public final GrepOptionSet_Fcilnvx x
"-x"
: Select only those matches that exactly match the whole line
excluding the terminating line ending.
(This option is ignored if a pattern
operand is specified
instead of the regexp
string).
The option "-x"
is equivalent to the "--
wholeLine
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "-x"
. If the option "-x"
is already set, the field x
points to the enum constant itself
as it already represents the current set of options.
public final GrepOptionSet_Fcilnvx wholeLine
"--wholeLine"
: Select only those matches that exactly match the whole line
excluding the terminating line ending.
(This option is ignored if a pattern
operand is specified
instead of the regexp
string).
The option "--wholeLine"
is equivalent to the "-
x
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--wholeLine"
. If the option "--wholeLine"
is already set, the field wholeLine
points to the enum constant itself
as it already represents the current set of options.
public static GrepOptionSet_Fcilnvx[] values()
for (GrepOptionSet_Fcilnvx c : GrepOptionSet_Fcilnvx.values()) System.out.println(c);
public static GrepOptionSet_Fcilnvx valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Class<GrepOption> optionType()
OptionSet
optionType
in interface OptionSet<GrepOption>
public boolean isSet(GrepOption option)
OptionSet
option
is set and false otherwiseisSet
in interface OptionSet<GrepOption>
option
- the option to testoption
is set in this OptionSet
public int size()
OptionSet
size
in interface OptionSet<GrepOption>
public EnumSet<GrepOption> asSet()
this
option set.asSet
in interface OptionSet<GrepOption>
public Iterator<GrepOption> iterator()
iterator
in interface Iterable<GrepOption>
iterator
in interface OptionSet<GrepOption>
public boolean useAcronymFor(GrepOption option)
acronym
should be used in
for the specified option
string representations.
In particular and independent from the option
argument, this
option set returns true if the last option added to this set was an
acronym, and false if it was a long option name.
For instance, the set defined as
GrepOptionSet_Fcilnvx.count.F;uses acronyms, that is, this method always returns true for the above set.
On the other hand, long option names are used and this method always returns false for the set
GrepOptionSet_Fcilnvx.c.fixedStrings;
Note that a repeated option is not treated as the last set option. For instance, the first and last option of the following set are equivalent and acronyms are used:
GrepOptionSet_Fcilnvx.c.F.count;
This method always returns true for the empty set with no active options.
useAcronymFor
in interface OptionSet<GrepOption>
option
- the option of interest, has no impact on the result returned
by this methodCopyright © 2024. All rights reserved.