R
- the generic return type for all command signature methods
to support different implementor types; the methods of a
command factory for instance returns a command instance;
command builders can also implement this interface, but their
methods return the builder itself enabling for chained method
invocation to create joined commandspublic static interface Cat.Interface<R> extends CommandInterface<R>
Modifier and Type | Method and Description |
---|---|
R |
cat()
Reads the lines from the standard input and writes them to the
standard output.
|
R |
cat(CatOptions options)
Reads the lines from the standard input and writes them to the
standard output; the given options define the details of the output
format.
|
R |
cat(CatOptions options,
File... files)
Reads the lines from the specified files and writes them to the
standard output; the given options define the details of the output
format.
|
R |
cat(CatOptions options,
Input... inputs)
Reads the lines from the specified inputs and writes them to the
standard output; the given options define the details of the output
format.
|
R |
cat(CatOptions options,
String... paths)
Reads the lines from the specified files and writes them to the
standard output; the given options define the details of the output
format.
|
R |
cat(File... files)
Reads the lines from the specified files and writes them to the
standard output.
|
R |
cat(Input... inputs)
Reads the lines from the specified inputs and writes them to the
standard output.
|
R |
cat(String... args)
Reads the lines from files specified as arguments and writes them to
the standard output.
|
R cat()
<R>
defined by the implementing class;
the command itself returns no value and writes its result to the
standard output; see class level parameter comments for more
detailsR cat(String... args)
args
- String arguments defining the options and file operands for the
command. Options can be specified by acronym (with a leading dash
"-") or by long name (with two leading dashes "--"). File arguments
are expanded if wildcards are used.<R>
defined by the implementing class;
the command itself returns no value and writes its result to the
standard output; see class level parameter comments for more
detailsR cat(File... files)
files
- The input files to be printed; relative paths are not resolved (use
the string path argument to enable relative path resolving based on
the current working directory).<R>
defined by the implementing class;
the command itself returns no value and writes its result to the
standard output; see class level parameter comments for more
detailsR cat(Input... inputs)
inputs
- The inputs to be printed.<R>
defined by the implementing class;
the command itself returns no value and writes its result to the
standard output; see class level parameter comments for more
detailsR cat(CatOptions options)
options
- Options for the cat command.<R>
defined by the implementing class;
the command itself returns no value and writes its result to the
standard output; see class level parameter comments for more
detailsR cat(CatOptions options, File... files)
options
- Options for the cat command.files
- The input files to be printed; relative paths are not resolved (use
the string path argument to enable relative path resolving based on
the current working directory).<R>
defined by the implementing class;
the command itself returns no value and writes its result to the
standard output; see class level parameter comments for more
detailsR cat(CatOptions options, String... paths)
options
- Options for the cat command.paths
- Path names of the input files to be printed; wildcards * and ? are
supported; relative paths are resolved on the basis of the current
working directory.<R>
defined by the implementing class;
the command itself returns no value and writes its result to the
standard output; see class level parameter comments for more
detailsR cat(CatOptions options, Input... inputs)
options
- Options for the cat command.inputs
- The inputs to be printed.<R>
defined by the implementing class;
the command itself returns no value and writes its result to the
standard output; see class level parameter comments for more
detailsCopyright © 2024. All rights reserved.