Package | Description |
---|---|
org.unix4j.unix.cat |
Contains private classes used by the
cat command. |
Modifier and Type | Method and Description |
---|---|
static CatOption |
CatOption.findByAcronym(char acronym)
Returns the option with the given
acronym , or null if no
such option is found. |
static CatOption |
CatOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CatOption[] |
CatOption.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
EnumSet<CatOption> |
CatOption.asSet()
Returns a new set with
this active option. |
EnumSet<CatOption> |
CatOptionSet_bs.asSet()
Returns the set with the active options.
|
EnumSet<CatOption> |
CatOptionSet_bns.asSet()
Returns the set with the active options.
|
EnumSet<CatOption> |
CatOptionSet_ns.asSet()
Returns the set with the active options.
|
Iterator<CatOption> |
CatOption.iterator()
Returns an immutable iterator returning o single element:
this
option. |
Iterator<CatOption> |
CatOptionSet_bs.iterator()
Returns an immutable iterator with the active options of this option set.
|
Iterator<CatOption> |
CatOptionSet_bns.iterator()
Returns an immutable iterator with the active options of this option set.
|
Iterator<CatOption> |
CatOptionSet_ns.iterator()
Returns an immutable iterator with the active options of this option set.
|
Class<CatOption> |
CatOption.optionType() |
Class<CatOption> |
CatOptionSet_bs.optionType() |
Class<CatOption> |
CatOptionSet_bns.optionType() |
Class<CatOption> |
CatOptionSet_ns.optionType() |
Modifier and Type | Method and Description |
---|---|
boolean |
CatOption.isSet(CatOption option) |
boolean |
CatOptionSet_bs.isSet(CatOption option) |
boolean |
CatOptionSet_bns.isSet(CatOption option) |
boolean |
CatOptionSet_ns.isSet(CatOption option) |
boolean |
CatOption.useAcronymFor(CatOption option)
Returns true if the
acronym should be used for
the specified option in string representations. |
boolean |
CatOptionSet_bs.useAcronymFor(CatOption option)
Returns true if the
acronym should be used in
for the specified option string representations. |
boolean |
CatOptionSet_bns.useAcronymFor(CatOption option)
Returns true if the
acronym should be used in
for the specified option string representations. |
boolean |
CatOptionSet_ns.useAcronymFor(CatOption option)
Returns true if the
acronym should be used in
for the specified option string representations. |
Constructor and Description |
---|
Default(CatOption... options)
Constructor for an option set with the given active options.
|
Default(CatOption option)
Constructor for an option set with a single active option.
|
Constructor and Description |
---|
Default(OptionSet<CatOption> optionSet)
Constructor for an option set initialized with the options given by
another option set.
|
Copyright © 2024. All rights reserved.