public enum LsOptionSet_Rahlrt extends Enum<LsOptionSet_Rahlrt> implements LsOptions
LsOptions.Default
Modifier and Type | Field and Description |
---|---|
LsOptionSet_Rahlrt |
a
Option
"-a" : Lists all files in the given directory, including hidden files
(those whose names start with \".\" in Unix). |
LsOptionSet_Rahlrt |
allFiles
Option
"--allFiles" : Lists all files in the given directory, including hidden files
(those whose names start with \".\" in Unix). |
LsOptionSet_Rahlrt |
h
Option
"-h" : Print sizes in human readable format. |
LsOptionSet_Rahlrt |
humanReadable
Option
"--humanReadable" : Print sizes in human readable format. |
LsOptionSet_Rahlrt |
l
Option
"-l" : Long format, displaying file types, permissions, number of hard
links, owner, group, size, date, and filename. |
LsOptionSet_Rahlrt |
longFormat
Option
"--longFormat" : Long format, displaying file types, permissions, number of hard
links, owner, group, size, date, and filename. |
LsOptionSet_Rahlrt |
r
Option
"-r" : Reverses the order of the sort to get reverse collating sequence or
oldest first. |
LsOptionSet_Rahlrt |
R
Option
"-R" : Recursively lists subdirectories encountered. |
LsOptionSet_Rahlrt |
recurseSubdirs
Option
"--recurseSubdirs" : Recursively lists subdirectories encountered. |
LsOptionSet_Rahlrt |
reverseOrder
Option
"--reverseOrder" : Reverses the order of the sort to get reverse collating sequence or
oldest first. |
LsOptionSet_Rahlrt |
t
Option
"-t" : Sorts with the primary key being time modified (most recently
modified first) and the secondary key being filename in the
collating sequence. |
LsOptionSet_Rahlrt |
timeSorted
Option
"--timeSorted" : Sorts with the primary key being time modified (most recently
modified first) and the secondary key being filename in the
collating sequence. |
Modifier and Type | Method and Description |
---|---|
EnumSet<LsOption> |
asSet()
Returns the set with the active options.
|
boolean |
isSet(LsOption option)
Returns true if the specified
option is set and false otherwise |
Iterator<LsOption> |
iterator()
Returns an immutable iterator with the active options of this option set.
|
Class<LsOption> |
optionType()
Returns the option type class, usually an enum.
|
int |
size()
Returns the number of active options in this option set.
|
boolean |
useAcronymFor(LsOption option)
Returns true if the
acronym should be used in
for the specified option string representations. |
static LsOptionSet_Rahlrt |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LsOptionSet_Rahlrt[] |
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 LsOptionSet_Rahlrt Active_Rahlrt
public static final LsOptionSet_Rahlrt Active_Rahlrt_long
public static final LsOptionSet_Rahlrt Active_Rahlr
public static final LsOptionSet_Rahlrt Active_Rahlr_long
public static final LsOptionSet_Rahlrt Active_Rahlt
public static final LsOptionSet_Rahlrt Active_Rahlt_long
public static final LsOptionSet_Rahlrt Active_ahlrt
public static final LsOptionSet_Rahlrt Active_ahlrt_long
public static final LsOptionSet_Rahlrt Active_Rahrt
public static final LsOptionSet_Rahlrt Active_Rahrt_long
public static final LsOptionSet_Rahlrt Active_Ralrt
public static final LsOptionSet_Rahlrt Active_Ralrt_long
public static final LsOptionSet_Rahlrt Active_Rhlrt
public static final LsOptionSet_Rahlrt Active_Rhlrt_long
public static final LsOptionSet_Rahlrt Active_Rahl
public static final LsOptionSet_Rahlrt Active_Rahl_long
public static final LsOptionSet_Rahlrt Active_ahlr
public static final LsOptionSet_Rahlrt Active_ahlr_long
public static final LsOptionSet_Rahlrt Active_ahlt
public static final LsOptionSet_Rahlrt Active_ahlt_long
public static final LsOptionSet_Rahlrt Active_Rahr
public static final LsOptionSet_Rahlrt Active_Rahr_long
public static final LsOptionSet_Rahlrt Active_Raht
public static final LsOptionSet_Rahlrt Active_Raht_long
public static final LsOptionSet_Rahlrt Active_ahrt
public static final LsOptionSet_Rahlrt Active_ahrt_long
public static final LsOptionSet_Rahlrt Active_Ralr
public static final LsOptionSet_Rahlrt Active_Ralr_long
public static final LsOptionSet_Rahlrt Active_Ralt
public static final LsOptionSet_Rahlrt Active_Ralt_long
public static final LsOptionSet_Rahlrt Active_alrt
public static final LsOptionSet_Rahlrt Active_alrt_long
public static final LsOptionSet_Rahlrt Active_Rart
public static final LsOptionSet_Rahlrt Active_Rart_long
public static final LsOptionSet_Rahlrt Active_Rhlr
public static final LsOptionSet_Rahlrt Active_Rhlr_long
public static final LsOptionSet_Rahlrt Active_Rhlt
public static final LsOptionSet_Rahlrt Active_Rhlt_long
public static final LsOptionSet_Rahlrt Active_hlrt
public static final LsOptionSet_Rahlrt Active_hlrt_long
public static final LsOptionSet_Rahlrt Active_Rhrt
public static final LsOptionSet_Rahlrt Active_Rhrt_long
public static final LsOptionSet_Rahlrt Active_Rlrt
public static final LsOptionSet_Rahlrt Active_Rlrt_long
public static final LsOptionSet_Rahlrt Active_ahl
public static final LsOptionSet_Rahlrt Active_ahl_long
public static final LsOptionSet_Rahlrt Active_Rah
public static final LsOptionSet_Rahlrt Active_Rah_long
public static final LsOptionSet_Rahlrt Active_ahr
public static final LsOptionSet_Rahlrt Active_ahr_long
public static final LsOptionSet_Rahlrt Active_aht
public static final LsOptionSet_Rahlrt Active_aht_long
public static final LsOptionSet_Rahlrt Active_Ral
public static final LsOptionSet_Rahlrt Active_Ral_long
public static final LsOptionSet_Rahlrt Active_alr
public static final LsOptionSet_Rahlrt Active_alr_long
public static final LsOptionSet_Rahlrt Active_alt
public static final LsOptionSet_Rahlrt Active_alt_long
public static final LsOptionSet_Rahlrt Active_Rar
public static final LsOptionSet_Rahlrt Active_Rar_long
public static final LsOptionSet_Rahlrt Active_Rat
public static final LsOptionSet_Rahlrt Active_Rat_long
public static final LsOptionSet_Rahlrt Active_art
public static final LsOptionSet_Rahlrt Active_art_long
public static final LsOptionSet_Rahlrt Active_Rhl
public static final LsOptionSet_Rahlrt Active_Rhl_long
public static final LsOptionSet_Rahlrt Active_hlr
public static final LsOptionSet_Rahlrt Active_hlr_long
public static final LsOptionSet_Rahlrt Active_hlt
public static final LsOptionSet_Rahlrt Active_hlt_long
public static final LsOptionSet_Rahlrt Active_Rhr
public static final LsOptionSet_Rahlrt Active_Rhr_long
public static final LsOptionSet_Rahlrt Active_Rht
public static final LsOptionSet_Rahlrt Active_Rht_long
public static final LsOptionSet_Rahlrt Active_hrt
public static final LsOptionSet_Rahlrt Active_hrt_long
public static final LsOptionSet_Rahlrt Active_Rlr
public static final LsOptionSet_Rahlrt Active_Rlr_long
public static final LsOptionSet_Rahlrt Active_Rlt
public static final LsOptionSet_Rahlrt Active_Rlt_long
public static final LsOptionSet_Rahlrt Active_lrt
public static final LsOptionSet_Rahlrt Active_lrt_long
public static final LsOptionSet_Rahlrt Active_Rrt
public static final LsOptionSet_Rahlrt Active_Rrt_long
public static final LsOptionSet_Rahlrt Active_ah
public static final LsOptionSet_Rahlrt Active_ah_long
public static final LsOptionSet_Rahlrt Active_al
public static final LsOptionSet_Rahlrt Active_al_long
public static final LsOptionSet_Rahlrt Active_Ra
public static final LsOptionSet_Rahlrt Active_Ra_long
public static final LsOptionSet_Rahlrt Active_ar
public static final LsOptionSet_Rahlrt Active_ar_long
public static final LsOptionSet_Rahlrt Active_at
public static final LsOptionSet_Rahlrt Active_at_long
public static final LsOptionSet_Rahlrt Active_hl
public static final LsOptionSet_Rahlrt Active_hl_long
public static final LsOptionSet_Rahlrt Active_Rh
public static final LsOptionSet_Rahlrt Active_Rh_long
public static final LsOptionSet_Rahlrt Active_hr
public static final LsOptionSet_Rahlrt Active_hr_long
public static final LsOptionSet_Rahlrt Active_ht
public static final LsOptionSet_Rahlrt Active_ht_long
public static final LsOptionSet_Rahlrt Active_Rl
public static final LsOptionSet_Rahlrt Active_Rl_long
public static final LsOptionSet_Rahlrt Active_lr
public static final LsOptionSet_Rahlrt Active_lr_long
public static final LsOptionSet_Rahlrt Active_lt
public static final LsOptionSet_Rahlrt Active_lt_long
public static final LsOptionSet_Rahlrt Active_Rr
public static final LsOptionSet_Rahlrt Active_Rr_long
public static final LsOptionSet_Rahlrt Active_Rt
public static final LsOptionSet_Rahlrt Active_Rt_long
public static final LsOptionSet_Rahlrt Active_rt
public static final LsOptionSet_Rahlrt Active_rt_long
public static final LsOptionSet_Rahlrt Active_a
a
.public static final LsOptionSet_Rahlrt Active_a_long
a
.public static final LsOptionSet_Rahlrt Active_h
h
.public static final LsOptionSet_Rahlrt Active_h_long
h
.public static final LsOptionSet_Rahlrt Active_l
l
.public static final LsOptionSet_Rahlrt Active_l_long
l
.public static final LsOptionSet_Rahlrt Active_R
R
.public static final LsOptionSet_Rahlrt Active_R_long
R
.public static final LsOptionSet_Rahlrt Active_r
r
.public static final LsOptionSet_Rahlrt Active_r_long
r
.public static final LsOptionSet_Rahlrt Active_t
t
.public static final LsOptionSet_Rahlrt Active_t_long
t
.public final LsOptionSet_Rahlrt a
"-a"
: Lists all files in the given directory, including hidden files
(those whose names start with \".\" in Unix). By default, these
files are excluded from the list.
The option "-a"
is equivalent to the "--
allFiles
"
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 LsOptionSet_Rahlrt allFiles
"--allFiles"
: Lists all files in the given directory, including hidden files
(those whose names start with \".\" in Unix). By default, these
files are excluded from the list.
The option "--allFiles"
is equivalent to the "-
a
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--allFiles"
. If the option "--allFiles"
is already set, the field allFiles
points to the enum constant itself
as it already represents the current set of options.
public final LsOptionSet_Rahlrt h
"-h"
: Print sizes in human readable format. (e.g., 1K, 234M, 2G, etc.)
The option "-h"
is equivalent to the "--
humanReadable
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "-h"
. If the option "-h"
is already set, the field h
points to the enum constant itself
as it already represents the current set of options.
public final LsOptionSet_Rahlrt humanReadable
"--humanReadable"
: Print sizes in human readable format. (e.g., 1K, 234M, 2G, etc.)
The option "--humanReadable"
is equivalent to the "-
h
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--humanReadable"
. If the option "--humanReadable"
is already set, the field humanReadable
points to the enum constant itself
as it already represents the current set of options.
public final LsOptionSet_Rahlrt l
"-l"
: Long format, displaying file types, permissions, number of hard
links, owner, group, size, date, and filename.
The option "-l"
is equivalent to the "--
longFormat
"
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 LsOptionSet_Rahlrt longFormat
"--longFormat"
: Long format, displaying file types, permissions, number of hard
links, owner, group, size, date, and filename.
The option "--longFormat"
is equivalent to the "-
l
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--longFormat"
. If the option "--longFormat"
is already set, the field longFormat
points to the enum constant itself
as it already represents the current set of options.
public final LsOptionSet_Rahlrt R
"-R"
: Recursively lists subdirectories encountered.
The option "-R"
is equivalent to the "--
recurseSubdirs
"
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 LsOptionSet_Rahlrt recurseSubdirs
"--recurseSubdirs"
: Recursively lists subdirectories encountered.
The option "--recurseSubdirs"
is equivalent to the "-
R
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--recurseSubdirs"
. If the option "--recurseSubdirs"
is already set, the field recurseSubdirs
points to the enum constant itself
as it already represents the current set of options.
public final LsOptionSet_Rahlrt r
"-r"
: Reverses the order of the sort to get reverse collating sequence or
oldest first.
The option "-r"
is equivalent to the "--
reverseOrder
"
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 LsOptionSet_Rahlrt reverseOrder
"--reverseOrder"
: Reverses the order of the sort to get reverse collating sequence or
oldest first.
The option "--reverseOrder"
is equivalent to the "-
r
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--reverseOrder"
. If the option "--reverseOrder"
is already set, the field reverseOrder
points to the enum constant itself
as it already represents the current set of options.
public final LsOptionSet_Rahlrt t
"-t"
: Sorts with the primary key being time modified (most recently
modified first) and the secondary key being filename in the
collating sequence.
The option "-t"
is equivalent to the "--
timeSorted
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "-t"
. If the option "-t"
is already set, the field t
points to the enum constant itself
as it already represents the current set of options.
public final LsOptionSet_Rahlrt timeSorted
"--timeSorted"
: Sorts with the primary key being time modified (most recently
modified first) and the secondary key being filename in the
collating sequence.
The option "--timeSorted"
is equivalent to the "-
t
"
option.
Technically speaking, this field points to a set with the options of the
current set plus the option "--timeSorted"
. If the option "--timeSorted"
is already set, the field timeSorted
points to the enum constant itself
as it already represents the current set of options.
public static LsOptionSet_Rahlrt[] values()
for (LsOptionSet_Rahlrt c : LsOptionSet_Rahlrt.values()) System.out.println(c);
public static LsOptionSet_Rahlrt 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<LsOption> optionType()
OptionSet
optionType
in interface OptionSet<LsOption>
public boolean isSet(LsOption option)
OptionSet
option
is set and false otherwisepublic int size()
OptionSet
public EnumSet<LsOption> asSet()
this
option set.public Iterator<LsOption> iterator()
public boolean useAcronymFor(LsOption 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
LsOptionSet_Rahlrt.allFiles.h;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
LsOptionSet_Rahlrt.a.humanReadable;
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:
LsOptionSet_Rahlrt.a.h.allFiles;
This method always returns true for the empty set with no active options.
useAcronymFor
in interface OptionSet<LsOption>
option
- the option of interest, has no impact on the result returned
by this methodCopyright © 2024. All rights reserved.