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 Find.Interface<R> extends CommandInterface<R>
Modifier and Type | Method and Description |
---|---|
R |
find(FindOptions options,
Date time)
Finds all files that have been created, modified or accessed before
or after the specified
time (depending on the given
-time... options). |
R |
find(FindOptions options,
Date time,
String name)
Finds all files matching the given
name that have been
created, modified or accessed before or after the specified
time (depending on the given -time... options). |
R |
find(FindOptions options,
long size)
Finds all files matching the specified file
size in or below
the user's current working directory and writes the file names to
the standard output. |
R |
find(FindOptions options,
long size,
Date time,
String name)
Finds all files matching the given
name and size and
have been created, modified or accessed before or after the specified
time (depending on the given -time... options). |
R |
find(FindOptions options,
long size,
String name)
Finds all files matching the specified file
name and
size in or below the user's current working directory and
writes the file names to the standard output. |
R |
find(FindOptions options,
String name)
Finds all files matching the specified
name in or below the
user's current working directory and writes the file names to the
standard output. |
R |
find(FindOptions options,
String path,
Date time)
Finds all files that have been created, modified or accessed before
or after the specified
time (depending on the given
-time... options). |
R |
find(FindOptions options,
String path,
Date time,
String name)
Finds all files matching the given
name that have been
created, modified or accessed before or after the specified
time (depending on the given -time... options). |
R |
find(FindOptions options,
String path,
long size)
Finds all files matching the specified file
size in or below
the directory specified by path and writes the file names
to the standard output. |
R |
find(FindOptions options,
String path,
long size,
Date time,
String name)
Finds all files matching the given
name and size and
have been created, modified or accessed before or after the specified
time (depending on the given -time... options). |
R |
find(FindOptions options,
String path,
long size,
String name)
Finds all files matching the specified file
name and
size in or below the directory specified by path
and writes the file names to the standard output. |
R |
find(FindOptions options,
String path,
String name)
Finds all files matching the specified
name in or below the
directory specified by path and writes the file names to
the standard output. |
R |
find(long size)
Finds all files matching the specified file
size in or below
the user's current working directory and writes the file names to
the standard output. |
R |
find(long size,
String name)
Finds all files matching the specified file
name and
size in or below the user's current working directory and
writes the file names to the standard output. |
R |
find(String... args)
Finds all files matching the search criteria specified by the given
arguments and writes the file names to the standard output.
|
R |
find(String path)
Finds all files in or below the directory specified by
path
and writes the file names to the standard output. |
R |
find(String path,
long size)
Finds all files matching the specified file
size in or below
the directory specified by path and writes the file names
to the standard output. |
R |
find(String path,
long size,
String name)
Finds all files matching the specified file
name and
size in or below the directory specified by path
and writes the file names to the standard output. |
R |
find(String path,
String name)
Finds all files matching the specified
name in or below the
directory specified by path and writes the file names to
the standard output. |
R find(String... args)
Options can be specified by acronym (with a leading dash "-") or by long name (with two leading dashes "--"). Operands other than the default "--name" operand have to be prefixed with the operand name.
The files names written to the output are relative paths referring
to the working directory (or -- if provided -- relative to the path
given after the "--path"
operand name).
args
- String arguments defining the options and operands for the command.
Options can be specified by acronym (with a leading dash "-") or by
long name (with two leading dashes "--"). Operands other than the
default "--path" operand have to be prefixed with the operand name
(e.g. "--name" for subsequent path operand values).<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 find(String path)
path
and writes the file names to the standard output.
The files names written to the output are paths relative to the
specified path
operand.
path
- Starting point for the search in the directory hierarchy;
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 find(String path, String name)
name
in or below the
directory specified by path
and writes the file names to
the standard output.
The files names written to the output are paths relative to the
specified path
operand.
path
- Starting point for the search in the directory hierarchy;
wildcards * and ? are supported; relative paths are resolved on the
basis of the current working directory.name
- Name pattern to match the file name after removing the path with the
leading directories; wildcards * and ? are supported, or full
regular expressions if either of the options -regex (-r)
or
-iregex (-i)
is specified.<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 find(long size)
size
in or below
the user's current working directory and writes the file names to
the standard output. Matching files use at least size
bytes
on disk if size
is positive, or at most abs(size)
bytes if size
is zero or negative.
The files names written to the output are relative paths referring to the working directory.
size
- Consider only files using at least size
bytes if size
is positive, or at most abs(size)
bytes if size
is zero
or negative.<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 find(String path, long size)
size
in or below
the directory specified by path
and writes the file names
to the standard output. Matching files use at least size
bytes on disk if size
is positive, or at most
abs(size)
bytes if size
is zero or negative.
The files names written to the output are paths relative to the
specified path
operand.
path
- Starting point for the search in the directory hierarchy;
wildcards * and ? are supported; relative paths are resolved on the
basis of the current working directory.size
- Consider only files using at least size
bytes if size
is positive, or at most abs(size)
bytes if size
is zero
or negative.<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 find(long size, String name)
name
and
size
in or below the user's current working directory and
writes the file names to the standard output. Matching files use
at least size
bytes on disk if size
is positive,
or at most abs(size)
bytes if size
is zero or
negative.
The files names written to the output are relative paths referring to the working directory.
size
- Consider only files using at least size
bytes if size
is positive, or at most abs(size)
bytes if size
is zero
or negative.name
- Name pattern to match the file name after removing the path with the
leading directories; wildcards * and ? are supported, or full
regular expressions if either of the options -regex (-r)
or
-iregex (-i)
is specified.<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 find(String path, long size, String name)
name
and
size
in or below the directory specified by path
and writes the file names to the standard output. Matching files
use at least size
bytes on disk if size
is positive,
or at most abs(size)
bytes if size
is zero or
negative.
The files names written to the output are paths relative to the
specified path
operand.
path
- Starting point for the search in the directory hierarchy;
wildcards * and ? are supported; relative paths are resolved on the
basis of the current working directory.size
- Consider only files using at least size
bytes if size
is positive, or at most abs(size)
bytes if size
is zero
or negative.name
- Name pattern to match the file name after removing the path with the
leading directories; wildcards * and ? are supported, or full
regular expressions if either of the options -regex (-r)
or
-iregex (-i)
is specified.<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 find(FindOptions options, String name)
name
in or below the
user's current working directory and writes the file names to the
standard output.
The files names written to the output are relative paths referring to the working directory.
options
- Options for the file search.name
- Name pattern to match the file name after removing the path with the
leading directories; wildcards * and ? are supported, or full
regular expressions if either of the options -regex (-r)
or
-iregex (-i)
is specified.<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 find(FindOptions options, String path, String name)
name
in or below the
directory specified by path
and writes the file names to
the standard output.
The files names written to the output are paths relative to the
specified path
operand.
options
- Options for the file search.path
- Starting point for the search in the directory hierarchy;
wildcards * and ? are supported; relative paths are resolved on the
basis of the current working directory.name
- Name pattern to match the file name after removing the path with the
leading directories; wildcards * and ? are supported, or full
regular expressions if either of the options -regex (-r)
or
-iregex (-i)
is specified.<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 find(FindOptions options, long size)
size
in or below
the user's current working directory and writes the file names to
the standard output. Matching files use at least size
bytes
on disk if size
is positive, or at most abs(size)
bytes if size
is zero or negative.
The files names written to the output are relative paths referring to the working directory.
options
- Options for the file search.size
- Consider only files using at least size
bytes if size
is positive, or at most abs(size)
bytes if size
is zero
or negative.<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 find(FindOptions options, String path, long size)
size
in or below
the directory specified by path
and writes the file names
to the standard output. Matching files use at least size
bytes on disk if size
is positive, or at most
abs(size)
bytes if size
is zero or negative.
The files names written to the output are paths relative to the
specified path
operand.
options
- Options for the file search.path
- Starting point for the search in the directory hierarchy;
wildcards * and ? are supported; relative paths are resolved on the
basis of the current working directory.size
- Consider only files using at least size
bytes if size
is positive, or at most abs(size)
bytes if size
is zero
or negative.<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 find(FindOptions options, Date time)
time
(depending on the given
-time...
options). The names of the matching files found in
or below the user's current working directory are written to the
standard output.
The files names written to the output are relative paths referring to the working directory.
options
- Options for the file search.time
- Consider only files that have been created, modified or accessed
before or after the specified time
operand; consider the
-time...
options for details of the comparison.<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 find(FindOptions options, String path, Date time)
time
(depending on the given
-time...
options). The names of the matching files found in
or below the directory specified by path
are written to
the standard output.
The files names written to the output are paths relative to the
specified path
operand.
options
- Options for the file search.path
- Starting point for the search in the directory hierarchy;
wildcards * and ? are supported; relative paths are resolved on the
basis of the current working directory.time
- Consider only files that have been created, modified or accessed
before or after the specified time
operand; consider the
-time...
options for details of the comparison.<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 find(FindOptions options, long size, String name)
name
and
size
in or below the user's current working directory and
writes the file names to the standard output. Matching files use
at least size
bytes on disk if size
is positive, or
at most abs(size)
bytes if size
is zero or negative.
The files names written to the output are relative paths referring to the working directory.
options
- Options for the file search.size
- Consider only files using at least size
bytes if size
is positive, or at most abs(size)
bytes if size
is zero
or negative.name
- Name pattern to match the file name after removing the path with the
leading directories; wildcards * and ? are supported, or full
regular expressions if either of the options -regex (-r)
or
-iregex (-i)
is specified.<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 find(FindOptions options, String path, long size, String name)
name
and
size
in or below the directory specified by path
and writes the file names to the standard output. Matching files
use at least size
bytes on disk if size
is positive,
or at most abs(size)
bytes if size
is zero or
negative.
The files names written to the output are paths relative to the
specified path
operand.
options
- Options for the file search.path
- Starting point for the search in the directory hierarchy;
wildcards * and ? are supported; relative paths are resolved on the
basis of the current working directory.size
- Consider only files using at least size
bytes if size
is positive, or at most abs(size)
bytes if size
is zero
or negative.name
- Name pattern to match the file name after removing the path with the
leading directories; wildcards * and ? are supported, or full
regular expressions if either of the options -regex (-r)
or
-iregex (-i)
is specified.<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 find(FindOptions options, Date time, String name)
name
that have been
created, modified or accessed before or after the specified
time
(depending on the given -time...
options). The
names of the matching files found in or below the user's current
working directory are written to the standard output.
The files names written to the output are relative paths referring to the working directory.
options
- Options for the file search.time
- Consider only files that have been created, modified or accessed
before or after the specified time
operand; consider the
-time...
options for details of the comparison.name
- Name pattern to match the file name after removing the path with the
leading directories; wildcards * and ? are supported, or full
regular expressions if either of the options -regex (-r)
or
-iregex (-i)
is specified.<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 find(FindOptions options, String path, Date time, String name)
name
that have been
created, modified or accessed before or after the specified
time
(depending on the given -time...
options). The
names of the matching files found in or below the directory
specified by path
are written to the standard output.
The files names written to the output are paths relative to the
specified path
operand.
options
- Options for the file search.path
- Starting point for the search in the directory hierarchy;
wildcards * and ? are supported; relative paths are resolved on the
basis of the current working directory.time
- Consider only files that have been created, modified or accessed
before or after the specified time
operand; consider the
-time...
options for details of the comparison.name
- Name pattern to match the file name after removing the path with the
leading directories; wildcards * and ? are supported, or full
regular expressions if either of the options -regex (-r)
or
-iregex (-i)
is specified.<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 find(FindOptions options, long size, Date time, String name)
name
and size
and
have been created, modified or accessed before or after the specified
time
(depending on the given -time...
options).
Matching files use at least size
bytes on disk if
size
is positive, or at most abs(size)
bytes if
size
is zero or negative. The names of the matching files
found in or below the user's current working directory are written
to the standard output.
The files names written to the output are relative paths referring to the working directory.
options
- Options for the file search.size
- Consider only files using at least size
bytes if size
is positive, or at most abs(size)
bytes if size
is zero
or negative.time
- Consider only files that have been created, modified or accessed
before or after the specified time
operand; consider the
-time...
options for details of the comparison.name
- Name pattern to match the file name after removing the path with the
leading directories; wildcards * and ? are supported, or full
regular expressions if either of the options -regex (-r)
or
-iregex (-i)
is specified.<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 find(FindOptions options, String path, long size, Date time, String name)
name
and size
and
have been created, modified or accessed before or after the specified
time
(depending on the given -time...
options).
Matching files use at least size
bytes on disk if
size
is positive, or at most abs(size)
bytes if
size
is zero or negative. The names of the matching files
found in or below the directory specified by path
are
written to the standard output.
The files names written to the output are paths relative to the
specified path
operand.
options
- Options for the file search.path
- Starting point for the search in the directory hierarchy;
wildcards * and ? are supported; relative paths are resolved on the
basis of the current working directory.size
- Consider only files using at least size
bytes if size
is positive, or at most abs(size)
bytes if size
is zero
or negative.time
- Consider only files that have been created, modified or accessed
before or after the specified time
operand; consider the
-time...
options for details of the comparison.name
- Name pattern to match the file name after removing the path with the
leading directories; wildcards * and ? are supported, or full
regular expressions if either of the options -regex (-r)
or
-iregex (-i)
is specified.<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.