public enum FindOptionSet_acilmnorz extends Enum<FindOptionSet_acilmnorz> implements FindOptions
FindOptions.Default
Modifier and Type | Field and Description |
---|---|
FindOptionSet_ailnorz |
a
Option
"-a" : The time operand refers to the last access time of the file |
FindOptionSet_cilnorz |
c
Option
"-c" : The time operand refers to the creation time of the file |
FindOptionSet_acilmnorz |
i
Option
"-i" : Use case insensitive matching when applying the file name pattern
specified by the name operand |
FindOptionSet_acilmnorz |
ignoreCase
Option
"--ignoreCase" : Use case insensitive matching when applying the file name pattern
specified by the name operand |
FindOptionSet_acilmnorz |
l
Option
"-l" : Consider only symbolic links |
FindOptionSet_ilmnorz |
m
Option
"-m" : The time operand refers to the last modification time of the file
(the default) |
FindOptionSet_acilmnorz |
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_acilmnorz |
o
Option
"-o" : Consider only files that have been created, modified or accessed
before or at the time specified by the time operand |
FindOptionSet_acilmnorz |
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_acilmnorz |
r
Option
"-r" : Use full regular expression syntax for the patterns specified by the
name operand |
FindOptionSet_acilmnorz |
regex
Option
"--regex" : Use full regular expression syntax for the patterns specified by the
name operand |
FindOptionSet_ailnorz |
timeAccess
Option
"--timeAccess" : The time operand refers to the last access time of the file |
FindOptionSet_cilnorz |
timeCreate
Option
"--timeCreate" : The time operand refers to the creation time of the file |
FindOptionSet_ilmnorz |
timeModified
Option
"--timeModified" : The time operand refers to the last modification time of the file
(the default) |
FindOptionSet_acilmnorz |
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_acilmnorz |
timeOlder
Option
"--timeOlder" : Consider only files that have been created, modified or accessed
before or at the time specified by the time operand |
FindOptionSet_acilmnorz |
typeSymlink
Option
"--typeSymlink" : Consider only symbolic links |
FindOptionSet_acilmnorz |
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_acilmnorz |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FindOptionSet_acilmnorz[] |
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_acilmnorz Active_ilnorz
public static final FindOptionSet_acilmnorz Active_ilnorz_long
public static final FindOptionSet_acilmnorz Active_ilnor
public static final FindOptionSet_acilmnorz Active_ilnor_long
public static final FindOptionSet_acilmnorz Active_ilnrz
public static final FindOptionSet_acilmnorz Active_ilnrz_long
public static final FindOptionSet_acilmnorz Active_ilorz
public static final FindOptionSet_acilmnorz Active_ilorz_long
public static final FindOptionSet_acilmnorz Active_lnorz
public static final FindOptionSet_acilmnorz Active_lnorz_long
public static final FindOptionSet_acilmnorz Active_ilnoz
public static final FindOptionSet_acilmnorz Active_ilnoz_long
public static final FindOptionSet_acilmnorz Active_ilnr
public static final FindOptionSet_acilmnorz Active_ilnr_long
public static final FindOptionSet_acilmnorz Active_ilor
public static final FindOptionSet_acilmnorz Active_ilor_long
public static final FindOptionSet_acilmnorz Active_ilrz
public static final FindOptionSet_acilmnorz Active_ilrz_long
public static final FindOptionSet_acilmnorz Active_lnor
public static final FindOptionSet_acilmnorz Active_lnor_long
public static final FindOptionSet_acilmnorz Active_lnrz
public static final FindOptionSet_acilmnorz Active_lnrz_long
public static final FindOptionSet_acilmnorz Active_lorz
public static final FindOptionSet_acilmnorz Active_lorz_long
public static final FindOptionSet_acilmnorz Active_ilno
public static final FindOptionSet_acilmnorz Active_ilno_long
public static final FindOptionSet_acilmnorz Active_ilnz
public static final FindOptionSet_acilmnorz Active_ilnz_long
public static final FindOptionSet_acilmnorz Active_iloz
public static final FindOptionSet_acilmnorz Active_iloz_long
public static final FindOptionSet_acilmnorz Active_lnoz
public static final FindOptionSet_acilmnorz Active_lnoz_long
public static final FindOptionSet_acilmnorz Active_ilr
public static final FindOptionSet_acilmnorz Active_ilr_long
public static final FindOptionSet_acilmnorz Active_lnr
public static final FindOptionSet_acilmnorz Active_lnr_long
public static final FindOptionSet_acilmnorz Active_lor
public static final FindOptionSet_acilmnorz Active_lor_long
public static final FindOptionSet_acilmnorz Active_lrz
public static final FindOptionSet_acilmnorz Active_lrz_long
public static final FindOptionSet_acilmnorz Active_iln
public static final FindOptionSet_acilmnorz Active_iln_long
public static final FindOptionSet_acilmnorz Active_ilo
public static final FindOptionSet_acilmnorz Active_ilo_long
public static final FindOptionSet_acilmnorz Active_ilz
public static final FindOptionSet_acilmnorz Active_ilz_long
public static final FindOptionSet_acilmnorz Active_lno
public static final FindOptionSet_acilmnorz Active_lno_long
public static final FindOptionSet_acilmnorz Active_lnz
public static final FindOptionSet_acilmnorz Active_lnz_long
public static final FindOptionSet_acilmnorz Active_loz
public static final FindOptionSet_acilmnorz Active_loz_long
public static final FindOptionSet_acilmnorz Active_lr
public static final FindOptionSet_acilmnorz Active_lr_long
public static final FindOptionSet_acilmnorz Active_il
public static final FindOptionSet_acilmnorz Active_il_long
public static final FindOptionSet_acilmnorz Active_ln
public static final FindOptionSet_acilmnorz Active_ln_long
public static final FindOptionSet_acilmnorz Active_lo
public static final FindOptionSet_acilmnorz Active_lo_long
public static final FindOptionSet_acilmnorz Active_lz
public static final FindOptionSet_acilmnorz Active_lz_long
public static final FindOptionSet_acilmnorz Active_l
l
.public static final FindOptionSet_acilmnorz Active_l_long
l
.public final FindOptionSet_acilmnorz 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_acilmnorz 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_acilmnorz 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_acilmnorz 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_acilmnorz 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_acilmnorz 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_ailnorz a
"-a"
: The time operand refers to the last access time of the file
(This option is ignored if no time operand is specified).
The option "-a"
is equivalent to the "--
timeAccess
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "-a"
. If the option "-a"
is already set, the field a
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_ailnorz timeAccess
"--timeAccess"
: The time operand refers to the last access time of the file
(This option is ignored if no time operand is specified).
The option "--timeAccess"
is equivalent to the "-
a
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--timeAccess"
. If the option "--timeAccess"
is already set, the field timeAccess
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_cilnorz c
"-c"
: The time operand refers to the creation time of the file
(This option is ignored if no time operand is specified).
The option "-c"
is equivalent to the "--
timeCreate
"
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 FindOptionSet_cilnorz timeCreate
"--timeCreate"
: The time operand refers to the creation time of the file
(This option is ignored if no time operand is specified).
The option "--timeCreate"
is equivalent to the "-
c
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--timeCreate"
. If the option "--timeCreate"
is already set, the field timeCreate
points to the enum constant itself
as it already represents the current set of options.
public final FindOptionSet_ilmnorz 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_ilmnorz 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_acilmnorz 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_acilmnorz 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_acilmnorz 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_acilmnorz 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_acilmnorz 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_acilmnorz 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_acilmnorz[] values()
for (FindOptionSet_acilmnorz c : FindOptionSet_acilmnorz.values()) System.out.println(c);
public static FindOptionSet_acilmnorz 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_acilmnorz.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_acilmnorz.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_acilmnorz.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.