| Package | Description |
|---|---|
| org.unix4j |
Provides a single class
Unix4j with static methods
serving as entry point to build commands and command chains joining several
commands. |
| org.unix4j.builder |
Defines interfaces and implementations used to create a command or a chain of
joined commands.
|
| org.unix4j.unix |
Provides implementations for commands inspired by well known unix commands.
|
| org.unix4j.unix.ls |
Contains private classes used by the
ls command. |
| Modifier and Type | Method and Description |
|---|---|
static Unix4jCommandBuilder |
Unix4j.ls(LsOptions options)
Lists all files and directories in the user's current working
directory and writes them to the output using the given options
specifying the details of the output format.
|
static Unix4jCommandBuilder |
Unix4j.ls(LsOptions options,
File... files)
Prints the name of the given files and lists all files contained in
directories for every directory in
files. |
static Unix4jCommandBuilder |
Unix4j.ls(LsOptions options,
String... paths)
Prints the name of the given files and lists all files contained in
directories for every directory in
files. |
| Modifier and Type | Method and Description |
|---|---|
Unix4jCommandBuilder |
Unix4jCommandBuilder.ls(LsOptions options)
Lists all files and directories in the user's current working
directory and writes them to the output using the given options
specifying the details of the output format.
|
Unix4jCommandBuilder |
DefaultUnix4jCommandBuilder.ls(LsOptions options) |
Unix4jCommandBuilder |
Unix4jCommandBuilder.ls(LsOptions options,
File... files)
Prints the name of the given files and lists all files contained in
directories for every directory in
files. |
Unix4jCommandBuilder |
DefaultUnix4jCommandBuilder.ls(LsOptions options,
File... files) |
Unix4jCommandBuilder |
Unix4jCommandBuilder.ls(LsOptions options,
String... paths)
Prints the name of the given files and lists all files contained in
directories for every directory in
files. |
Unix4jCommandBuilder |
DefaultUnix4jCommandBuilder.ls(LsOptions options,
String... paths) |
| Modifier and Type | Method and Description |
|---|---|
R |
Ls.Interface.ls(LsOptions options)
Lists all files and directories in the user's current working
directory and writes them to the output using the given options
specifying the details of the output format.
|
R |
Ls.Interface.ls(LsOptions options,
File... files)
Prints the name of the given files and lists all files contained in
directories for every directory in
files. |
R |
Ls.Interface.ls(LsOptions options,
String... paths)
Prints the name of the given files and lists all files contained in
directories for every directory in
files. |
| Modifier and Type | Class and Description |
|---|---|
class |
LsOption
Options for the
ls command. |
static class |
LsOptions.Default
Default implementation for a modifiable option set.
|
class |
LsOptionSet_Rahlrt
|
| Modifier and Type | Field and Description |
|---|---|
static LsOptions |
LsOptions.EMPTY
Constant for an empty option set.
|
| Modifier and Type | Field and Description |
|---|---|
static ValueConverter<LsOptions> |
LsOptions.CONVERTER
Value converter for
LsOptions based on an OptionSetConverters.OptionSetConverter. |
| Modifier and Type | Method and Description |
|---|---|
LsOptions |
LsArguments.getOptions()
Returns the options set containing the selected command options.
|
| Modifier and Type | Method and Description |
|---|---|
LsCommand |
LsFactory.ls(LsOptions options) |
LsCommand |
LsFactory.ls(LsOptions options,
File... files) |
LsCommand |
LsFactory.ls(LsOptions options,
String... paths) |
| Constructor and Description |
|---|
LsArguments(LsOptions options)
Constructor with option set containing the selected command options.
|
Copyright © 2017. All Rights Reserved.