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