public enum FindOptionSet_dfilmnorxz extends Enum<FindOptionSet_dfilmnorxz> implements FindOptions
FindOptions.Default
Modifier and Type | Field and Description |
---|---|
FindOptionSet_dimnorz |
d
Option
"-d" : Consider only directories |
FindOptionSet_fimnorz |
f
Option
"-f" : Consider only regular files |
FindOptionSet_dfilmnorxz |
i
Option
"-i" : Use case insensitive matching when applying the file name pattern
specified by the name operand |
FindOptionSet_dfilmnorxz |
ignoreCase
Option
"--ignoreCase" : Use case insensitive matching when applying the file name pattern
specified by the name operand |
FindOptionSet_ilmnorz |
l
Option
"-l" : Consider only symbolic links |
FindOptionSet_dfilmnorxz |
m
Option
"-m" : The time operand refers to the last modification time of the file
(the default) |
FindOptionSet_dfilmnorxz |
n
Option
"-n" : Consider only files that have been created, modified or accessed
after or at the time specified by the time operand (the default) |
FindOptionSet_dfilmnorxz |
o
Option
"-o" : Consider only files that have been created, modified or accessed
before or at the time specified by the time operand |
FindOptionSet_dfilmnorxz |
print0
Option
"--print0" : Print the full file name on the standard output, followed by a null
character (instead of the newline character used by default). |
FindOptionSet_dfilmnorxz |
r
Option
"-r" : Use full regular expression syntax for the patterns specified by the
name operand |
FindOptionSet_dfilmnorxz |
regex
Option
"--regex" : Use full regular expression syntax for the patterns specified by the
name operand |
FindOptionSet_dfilmnorxz |
timeModified
Option
"--timeModified" : The time operand refers to the last modification time of the file
(the default) |
FindOptionSet_dfilmnorxz |
timeNewer
Option
"--timeNewer" : Consider only files that have been created, modified or accessed
after or at the time specified by the time operand (the default) |
FindOptionSet_dfilmnorxz |
timeOlder
Option
"--timeOlder" : Consider only files that have been created, modified or accessed
before or at the time specified by the time operand |
FindOptionSet_dimnorz |
typeDirectory
Option
"--typeDirectory" : Consider only directories |
FindOptionSet_fimnorz |
typeFile
Option
"--typeFile" : Consider only regular files |
FindOptionSet_imnorxz |
typeOther
Option
"--typeOther" : Consider only files that are neither of directory (d),
regular file (f) or symlink (l). |
FindOptionSet_ilmnorz |
typeSymlink
Option
"--typeSymlink" : Consider only symbolic links |
FindOptionSet_imnorxz |
x
Option
"-x" : Consider only files that are neither of directory (d),
regular file (f) or symlink (l). |
FindOptionSet_dfilmnorxz |
z
Option
"-z" : Print the full file name on the standard output, followed by a null
character (instead of the newline character used by default). |
CONVERTER, EMPTY
Modifier and Type | Method and Description |
---|---|
EnumSet<FindOption> |
asSet()
Returns the set with the active options.
|
boolean |
isSet(FindOption option)
Returns true if the specified
option is set and false otherwise |
Iterator<FindOption> |
iterator()
Returns an immutable iterator with the active options of this option set.
|
Class<FindOption> |
optionType()
Returns the option type class, usually an enum.
|
int |
size()
Returns the number of active options in this option set.
|
boolean |
useAcronymFor(FindOption option)
Returns true if the
acronym should be used in
for the specified option string representations. |
static FindOptionSet_dfilmnorxz |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FindOptionSet_dfilmnorxz[] |
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 FindOptionSet_dfilmnorxz Active_imnorz
public static final FindOptionSet_dfilmnorxz Active_imnorz_long
public static final FindOptionSet_dfilmnorxz Active_imnor
public static final FindOptionSet_dfilmnorxz Active_imnor_long
public static final FindOptionSet_dfilmnorxz Active_imnrz
public static final FindOptionSet_dfilmnorxz Active_imnrz_long
public static final FindOptionSet_dfilmnorxz Active_imorz
public static final FindOptionSet_dfilmnorxz Active_imorz_long
public static final FindOptionSet_dfilmnorxz Active_mnorz
public static final FindOptionSet_dfilmnorxz Active_mnorz_long
public static final FindOptionSet_dfilmnorxz Active_imnoz
public static final FindOptionSet_dfilmnorxz Active_imnoz_long
public static final FindOptionSet_dfilmnorxz Active_imnr
public static final FindOptionSet_dfilmnorxz Active_imnr_long
public static final FindOptionSet_dfilmnorxz Active_imor
public static final FindOptionSet_dfilmnorxz Active_imor_long
public static final FindOptionSet_dfilmnorxz Active_imrz
public static final FindOptionSet_dfilmnorxz Active_imrz_long
public static final FindOptionSet_dfilmnorxz Active_mnor
public static final FindOptionSet_dfilmnorxz Active_mnor_long
public static final FindOptionSet_dfilmnorxz Active_mnrz
public static final FindOptionSet_dfilmnorxz Active_mnrz_long
public static final FindOptionSet_dfilmnorxz Active_morz
public static final FindOptionSet_dfilmnorxz Active_morz_long
public static final FindOptionSet_dfilmnorxz Active_imno
public static final FindOptionSet_dfilmnorxz Active_imno_long
public static final FindOptionSet_dfilmnorxz Active_imnz
public static final FindOptionSet_dfilmnorxz Active_imnz_long
public static final FindOptionSet_dfilmnorxz Active_imoz
public static final FindOptionSet_dfilmnorxz Active_imoz_long
public static final FindOptionSet_dfilmnorxz Active_mnoz
public static final FindOptionSet_dfilmnorxz Active_mnoz_long
public static final FindOptionSet_dfilmnorxz Active_imr
public static final FindOptionSet_dfilmnorxz Active_imr_long
public static final FindOptionSet_dfilmnorxz Active_mnr
public static final FindOptionSet_dfilmnorxz Active_mnr_long
public static final FindOptionSet_dfilmnorxz Active_mor
public static final FindOptionSet_dfilmnorxz Active_mor_long
public static final FindOptionSet_dfilmnorxz Active_mrz
public static final FindOptionSet_dfilmnorxz Active_mrz_long
public static final FindOptionSet_dfilmnorxz Active_imn
public static final FindOptionSet_dfilmnorxz Active_imn_long
public static final FindOptionSet_dfilmnorxz Active_imo
public static final FindOptionSet_dfilmnorxz Active_imo_long
public static final FindOptionSet_dfilmnorxz Active_imz
public static final FindOptionSet_dfilmnorxz Active_imz_long
public static final FindOptionSet_dfilmnorxz Active_mno
public static final FindOptionSet_dfilmnorxz Active_mno_long
public static final FindOptionSet_dfilmnorxz Active_mnz
public static final FindOptionSet_dfilmnorxz Active_mnz_long
public static final FindOptionSet_dfilmnorxz Active_moz
public static final FindOptionSet_dfilmnorxz Active_moz_long
public static final FindOptionSet_dfilmnorxz Active_mr
public static final FindOptionSet_dfilmnorxz Active_mr_long
public static final FindOptionSet_dfilmnorxz Active_im
public static final FindOptionSet_dfilmnorxz Active_im_long
public static final FindOptionSet_dfilmnorxz Active_mn
public static final FindOptionSet_dfilmnorxz Active_mn_long
public static final FindOptionSet_dfilmnorxz Active_mo
public static final FindOptionSet_dfilmnorxz Active_mo_long
public static final FindOptionSet_dfilmnorxz Active_mz
public static final FindOptionSet_dfilmnorxz Active_mz_long
public static final FindOptionSet_dfilmnorxz Active_m
m
.public static final FindOptionSet_dfilmnorxz Active_m_long
m
.public final FindOptionSet_dfilmnorxz i
"-i"
: Use case insensitive matching when applying the file name pattern
specified by the name operand
(This option is ignored if no name operand is specified).
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 FindOptionSet_dfilmnorxz ignoreCase
"--ignoreCase"
: Use case insensitive matching when applying the file name pattern
specified by the name operand
(This option is ignored if no name operand is specified).
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 FindOptionSet_dfilmnorxz z
"-z"
: Print the full file name on the standard output, followed by a null
character (instead of the newline character used by default). This
allows file names that contain newlines or other types of white
space to be correctly interpreted by programs that process the find
output. This option corresponds to the --delimiter0 option of xargs.
The option "-z"
is equivalent to the "--
print0
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "-z"
. If the option "-z"
is already set, the field z
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_dfilmnorxz print0
"--print0"
: Print the full file name on the standard output, followed by a null
character (instead of the newline character used by default). This
allows file names that contain newlines or other types of white
space to be correctly interpreted by programs that process the find
output. This option corresponds to the --delimiter0 option of xargs.
The option "--print0"
is equivalent to the "-
z
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--print0"
. If the option "--print0"
is already set, the field print0
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_dfilmnorxz r
"-r"
: Use full regular expression syntax for the patterns specified by the
name operand
(This option is ignored if no name operand is specified).
The option "-r"
is equivalent to the "--
regex
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "-r"
. If the option "-r"
is already set, the field r
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_dfilmnorxz regex
"--regex"
: Use full regular expression syntax for the patterns specified by the
name operand
(This option is ignored if no name operand is specified).
The option "--regex"
is equivalent to the "-
r
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--regex"
. If the option "--regex"
is already set, the field regex
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_dfilmnorxz m
"-m"
: The time operand refers to the last modification time of the file
(the default)
(This option is ignored if no time operand is specified).
The option "-m"
is equivalent to the "--
timeModified
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "-m"
. If the option "-m"
is already set, the field m
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_dfilmnorxz timeModified
"--timeModified"
: The time operand refers to the last modification time of the file
(the default)
(This option is ignored if no time operand is specified).
The option "--timeModified"
is equivalent to the "-
m
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--timeModified"
. If the option "--timeModified"
is already set, the field timeModified
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_dfilmnorxz n
"-n"
: Consider only files that have been created, modified or accessed
after or at the time specified by the time operand (the default)
(This option is ignored if no time operand is specified).
The option "-n"
is equivalent to the "--
timeNewer
"
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 FindOptionSet_dfilmnorxz timeNewer
"--timeNewer"
: Consider only files that have been created, modified or accessed
after or at the time specified by the time operand (the default)
(This option is ignored if no time operand is specified).
The option "--timeNewer"
is equivalent to the "-
n
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--timeNewer"
. If the option "--timeNewer"
is already set, the field timeNewer
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_dfilmnorxz o
"-o"
: Consider only files that have been created, modified or accessed
before or at the time specified by the time operand
(This option is ignored if no time operand is specified).
The option "-o"
is equivalent to the "--
timeOlder
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "-o"
. If the option "-o"
is already set, the field o
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_dfilmnorxz timeOlder
"--timeOlder"
: Consider only files that have been created, modified or accessed
before or at the time specified by the time operand
(This option is ignored if no time operand is specified).
The option "--timeOlder"
is equivalent to the "-
o
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--timeOlder"
. If the option "--timeOlder"
is already set, the field timeOlder
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_dimnorz d
"-d"
: Consider only directories
The option "-d"
is equivalent to the "--
typeDirectory
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "-d"
. If the option "-d"
is already set, the field d
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_dimnorz typeDirectory
"--typeDirectory"
: Consider only directories
The option "--typeDirectory"
is equivalent to the "-
d
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--typeDirectory"
. If the option "--typeDirectory"
is already set, the field typeDirectory
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_fimnorz f
"-f"
: Consider only regular files
The option "-f"
is equivalent to the "--
typeFile
"
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 FindOptionSet_fimnorz typeFile
"--typeFile"
: Consider only regular files
The option "--typeFile"
is equivalent to the "-
f
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--typeFile"
. If the option "--typeFile"
is already set, the field typeFile
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_imnorxz x
"-x"
: Consider only files that are neither of directory (d),
regular file (f) or symlink (l).
The option "-x"
is equivalent to the "--
typeOther
"
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 FindOptionSet_imnorxz typeOther
"--typeOther"
: Consider only files that are neither of directory (d),
regular file (f) or symlink (l).
The option "--typeOther"
is equivalent to the "-
x
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--typeOther"
. If the option "--typeOther"
is already set, the field typeOther
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_ilmnorz l
"-l"
: Consider only symbolic links
The option "-l"
is equivalent to the "--
typeSymlink
"
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 FindOptionSet_ilmnorz typeSymlink
"--typeSymlink"
: Consider only symbolic links
The option "--typeSymlink"
is equivalent to the "-
l
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--typeSymlink"
. If the option "--typeSymlink"
is already set, the field typeSymlink
points to the enum constant itself
as it already represents the current set of options.
public static FindOptionSet_dfilmnorxz[] values()
for (FindOptionSet_dfilmnorxz c : FindOptionSet_dfilmnorxz.values()) System.out.println(c);
public static FindOptionSet_dfilmnorxz 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<FindOption> optionType()
OptionSet
optionType
in interface OptionSet<FindOption>
public boolean isSet(FindOption option)
OptionSet
option
is set and false otherwiseisSet
in interface OptionSet<FindOption>
option
- the option to testoption
is set in this OptionSet
public int size()
OptionSet
size
in interface OptionSet<FindOption>
public EnumSet<FindOption> asSet()
this
option set.asSet
in interface OptionSet<FindOption>
public Iterator<FindOption> iterator()
iterator
in interface Iterable<FindOption>
iterator
in interface OptionSet<FindOption>
public boolean useAcronymFor(FindOption 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
FindOptionSet_dfilmnorxz.ignoreCase.z;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
FindOptionSet_dfilmnorxz.i.print0;
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:
FindOptionSet_dfilmnorxz.i.z.ignoreCase;
This method always returns true for the empty set with no active options.
useAcronymFor
in interface OptionSet<FindOption>
option
- the option of interest, has no impact on the result returned
by this methodCopyright © 2024. All rights reserved.