Package | Description |
---|---|
org.unix4j.context |
Contains interfaces and classes defining the
ExecutionContext passed to the
execute
method of commands. |
org.unix4j.convert |
Defines interfaces and implementations used for value conversions.
|
org.unix4j.unix.cat |
Contains private classes used by the
cat command. |
org.unix4j.unix.cut |
Contains private classes used by the
cut command. |
org.unix4j.unix.echo |
Contains private classes used by the
echo command. |
org.unix4j.unix.find |
Contains private classes used by the
find command. |
org.unix4j.unix.grep |
Contains private classes used by the
grep command. |
org.unix4j.unix.head |
Contains private classes used by the
head command. |
org.unix4j.unix.ls |
Contains private classes used by the
ls command. |
org.unix4j.unix.sed |
Contains private classes used by the
sed command. |
org.unix4j.unix.sort |
Contains private classes used by the
sort command. |
org.unix4j.unix.tail |
Contains private classes used by the
tail command. |
org.unix4j.unix.uniq |
Contains private classes used by the
uniq command. |
org.unix4j.unix.wc |
Contains private classes used by the
wc command. |
org.unix4j.unix.xargs |
Contains private classes used by the
xargs command. |
org.unix4j.variable |
Defines interfaces and classes to facilitate variables that can be used as
command arguments.
|
Modifier and Type | Method and Description |
---|---|
<V> ValueConverter<V> |
ExecutionContext.getValueConverterFor(Class<V> type) |
<V> ValueConverter<V> |
DefaultExecutionContext.getValueConverterFor(Class<V> type) |
<V> ValueConverter<V> |
DerivedExecutionContext.getValueConverterFor(Class<V> type) |
Modifier and Type | Class and Description |
---|---|
class |
CompositeValueConverter<V> |
class |
ConcatenatedConverter<V> |
static class |
DateConverters.StringToDateConverter |
static class |
EnumConverters.StringToEnumConverter<E extends Enum<E>> |
static class |
OptionSetConverters.AcronymStringToOptionSetConverter<O extends Enum<O> & Option> |
static class |
OptionSetConverters.IterableOfOptionNameOrAcronymToOptionSetConverter<O extends Enum<O> & Option> |
static class |
OptionSetConverters.NameOrAcronymToOptionConverter<O extends Enum<O> & Option> |
static class |
OptionSetConverters.OptionNameStringToSingletonSetConverter<O extends Enum<O> & Option> |
static class |
OptionSetConverters.OptionSetConverter<O extends Enum<O> & Option> |
static class |
OptionSetConverters.OptionToSingletonSetConverter<O extends Enum<O> & Option> |
Modifier and Type | Method and Description |
---|---|
<V> ValueConverter<V> |
DefaultConverterRegistry.getValueConverterFor(Class<V> type) |
<V> ValueConverter<V> |
ConverterRegistry.getValueConverterFor(Class<V> type) |
Modifier and Type | Method and Description |
---|---|
protected CompositeValueConverter<V> |
CompositeValueConverter.add(ValueConverter<? extends V> converter) |
static <V> ConcatenatedConverter<V> |
ConcatenatedConverter.concat(ValueConverter<?> first,
ValueConverter<V> second) |
static <V> ConcatenatedConverter<V> |
ConcatenatedConverter.concat(ValueConverter<?> first,
ValueConverter<V> second) |
<N> ConcatenatedConverter<N> |
ConcatenatedConverter.concat(ValueConverter<N> next) |
<V> void |
DefaultConverterRegistry.registerValueConverter(Class<V> type,
ValueConverter<V> converter) |
Modifier and Type | Method and Description |
---|---|
protected CompositeValueConverter<V> |
CompositeValueConverter.addAll(Collection<? extends ValueConverter<? extends V>> converters) |
Constructor and Description |
---|
ConcatenatedConverter(ValueConverter<?> sourceConverter,
ValueConverter<V> targetConverter) |
ConcatenatedConverter(ValueConverter<?> sourceConverter,
ValueConverter<V> targetConverter) |
Constructor and Description |
---|
CompositeValueConverter(Collection<? extends ValueConverter<? extends V>> converters) |
Modifier and Type | Field and Description |
---|---|
static ValueConverter<CatOptions> |
CatOptions.CONVERTER
Value converter for
CatOptions based on an OptionSetConverters.OptionSetConverter . |
Modifier and Type | Field and Description |
---|---|
static ValueConverter<CutOptions> |
CutOptions.CONVERTER
Value converter for
CutOptions based on an OptionSetConverters.OptionSetConverter . |
Modifier and Type | Field and Description |
---|---|
static ValueConverter<EchoOptions> |
EchoOptions.CONVERTER
Value converter for
EchoOptions based on an OptionSetConverters.OptionSetConverter . |
Modifier and Type | Field and Description |
---|---|
static ValueConverter<FindOptions> |
FindOptions.CONVERTER
Value converter for
FindOptions based on an OptionSetConverters.OptionSetConverter . |
Modifier and Type | Field and Description |
---|---|
static ValueConverter<GrepOptions> |
GrepOptions.CONVERTER
Value converter for
GrepOptions based on an OptionSetConverters.OptionSetConverter . |
Modifier and Type | Field and Description |
---|---|
static ValueConverter<HeadOptions> |
HeadOptions.CONVERTER
Value converter for
HeadOptions based on an OptionSetConverters.OptionSetConverter . |
Modifier and Type | Field and Description |
---|---|
static ValueConverter<LsOptions> |
LsOptions.CONVERTER
Value converter for
LsOptions based on an OptionSetConverters.OptionSetConverter . |
Modifier and Type | Field and Description |
---|---|
static ValueConverter<SedOptions> |
SedOptions.CONVERTER
Value converter for
SedOptions based on an OptionSetConverters.OptionSetConverter . |
Modifier and Type | Field and Description |
---|---|
static ValueConverter<SortOptions> |
SortOptions.CONVERTER
Value converter for
SortOptions based on an OptionSetConverters.OptionSetConverter . |
Modifier and Type | Field and Description |
---|---|
static ValueConverter<TailOptions> |
TailOptions.CONVERTER
Value converter for
TailOptions based on an OptionSetConverters.OptionSetConverter . |
Modifier and Type | Field and Description |
---|---|
static ValueConverter<UniqOptions> |
UniqOptions.CONVERTER
Value converter for
UniqOptions based on an OptionSetConverters.OptionSetConverter . |
Modifier and Type | Field and Description |
---|---|
static ValueConverter<WcOptions> |
WcOptions.CONVERTER
Value converter for
WcOptions based on an OptionSetConverters.OptionSetConverter . |
Modifier and Type | Field and Description |
---|---|
static ValueConverter<XargsOptions> |
XargsOptions.CONVERTER
Value converter for
XargsOptions based on an OptionSetConverters.OptionSetConverter . |
Modifier and Type | Method and Description |
---|---|
<V> V |
DefaultVariableContext.getValue(String name,
ValueConverter<V> converter) |
<V> V |
VariableContext.getValue(String name,
ValueConverter<V> converter)
Returns the value of the variable given by name and converts it into the
target type
<V> using the given converter. |
Copyright © 2024. All rights reserved.