| Interface | Description |
|---|---|
| AntTask.ExpressionElement | |
| Find.Expression |
Representation of the "FIND expression".
|
| Class | Description |
|---|---|
| AbstractElementWithOperands |
Abstract base class for various ANT beans that have EXPRESSION subelements.
|
| AntTask |
Recurses through a set of directories, files, archive files and nested archives and executes a set of tests and
actions for each file and archive entry.
|
| AntTask.AndElement |
Combines subexpressions logically: Evaluates its subexpressions sequentially; if one of them evaluates to
false, then the remaining subexpressions are not evaluated, and false is returned. |
| AntTask.CatElement |
Copies the contents of the current file to STDOUT and evaluates to TRUE.
|
| AntTask.ChecksumElement |
Calculates a "checksum" of the contents, prints it and returns true.
|
| AntTask.CommaElement |
Evaluates subexpressions sequentially; returns the value of the last subexpression.
|
| AntTask.CopyElement |
Copies the contents of the current file to the named file and evaluates to TRUE.
|
| AntTask.DeleteElement |
Delete file; Evaluates to
true if removal succeeded. |
| AntTask.DigestElement |
Calculates a "message digest" of the contents, prints it and returns true.
|
| AntTask.DisassembleElement |
Disassembles a Java .class file to STDOUT or a given file and evaluates to
true. |
| AntTask.EchoElement |
Prints a text and evaluates to
true. |
| AntTask.ExecElement |
Executes an external command; the special string '{}' within the command is replaced with the full path of the
current file/directory/archive entry.
|
| AntTask.ExecutableElement |
Evaluates to
true iff the current file/directory is executable. |
| AntTask.FalseElement |
Evaluates to
false. |
| AntTask.LsElement |
Prints the file type ("
d" or "-"), readability ("r" or "-"), writability ("w" or "-"), executability ("x" or "-"), size, modification time and path, and evaluates
to true. |
| AntTask.ModificationTimeElement |
Checks the modification time of the current file or archive entry.
|
| AntTask.NameElement |
Evaluates to
true iff the name of the current file/directory/archive entry matches the given
glob. |
| AntTask.NotElement |
Negates its subelement expression.
|
| AntTask.OrElement |
Combines subexpressions logically: Evaluates its subexpressions sequentially; if one of them evaluates to
true, then the remaining subexpressions are not evaluated, and true is returned. |
| AntTask.PathElement |
Evaluates to
true iff the path of the current file/directory/archive entry matches the given
glob. |
| AntTask.PipeElement |
Copies the contents of the current file/archive entry to the STDIN of a command and returns whether the command
exited with status 0.
|
| AntTask.PrintElement |
Prints the path of the current file/directory/archive entry and evaluates to
true. |
| AntTask.PropertyElement |
Sets an ANT property.
|
| AntTask.PruneElement |
Evaluates to
true. |
| AntTask.ReadableElement |
Evaluates to
true iff the current file/directory is readable. |
| AntTask.SizeElement |
Checks the size of the current file or archive entry.
|
| AntTask.TrueElement |
Evaluates to
true. |
| AntTask.TypeElement |
Evaluates to whether the type of the current file/directory/archive entry matches.
|
| AntTask.WritableElement |
Evaluates to
true iff the current file/directory is writable. |
| Find |
The central API for the ZZFIND functionality.
|
| Find.AndTest |
Iff
lhs evaluates to TRUE, then rhs is evaluated and its result is returned. |
| Find.BinaryTest |
A
Find.Test with two operand expressions. |
| Find.BooleanTest |
Gets and returns the value of a boolean property, or
false if that property is not set. |
| Find.CatAction |
Copies the contents of the current file or archive entry to a given
OutputStream and evaluates to true. |
| Find.ChecksumAction |
Calculates a "checksum" of an input stream's content and prints it to
Printers.info(String). |
| Find.CommaTest |
Evaluates
lhs, then rhs, and returns the result of the latter evaluation. |
| Find.ConstantTest |
Evaluates to a constant boolean value.
|
| Find.CopyAction |
Copies the contents of the current file or archive entry to a given file and evaluates to
true. |
| Find.DeleteAction |
Sets the "prune flag".
|
| Find.DigestAction |
Calculates a "message digest" of an input stream's content and prints it to
Printers.info(String). |
| Find.DisassembleAction |
Disassembles a Java class file.
|
| Find.EchoAction |
Prints one message and returns
true. |
| Find.ExecAction |
Executes an external command; the special string "
{}" within the command is replaced with the full
path of the current file, directory or archive entry. |
| Find.ExecutabilityTest |
Tests the value of the boolean property "canExecute".
|
| Find.GlobTest |
Matches a
Glob with a property value. |
| Find.LsAction |
Prints the file type ('d' or '-'), readability ('r' or '-'), writability ('w' or '-'), size, modification time
and path to the given
Writer and evaluates to true. |
| Find.ModificationTimeTest |
Representation of a
Find.Test which checks the node's modification time against the current time and a
(days-based) predicate. |
| Find.NameTest |
Tests the value of property "name" against a
Glob. |
| Find.NotExpression |
Evaluates a delegate expression and negates its result.
|
| Find.OrTest |
Iff
lhs evaluates to FALSE, then rhs is evaluated and its result is returned. |
| Find.PathTest |
Tests the value of property "path" against a
Glob. |
| Find.PipeAction |
Copies the contents of the current file or archive entry to the STDIN of a given command and returns whether the
command exited with status 0.
|
| Find.PredicateTest<T> |
Evaluates a predicate for a property's value and returns the result, or
null iff the property is not
set. |
| Find.PrintAction |
Prints the path of the current file and returns
true. |
| Find.PrintfAction |
Prints one message and returns
true. |
| Find.PruneAction |
Sets the "prune flag".
|
| Find.ReadabilityTest |
Tests the value of the boolean property "canRead".
|
| Find.SizeTest |
Tests the value of the LONG property "size".
|
| Find.StringPredicateTest |
Evaluates a property's value, converted to
String, against a predicate. |
| Find.TypeTest |
Tests the value of property "type" against a
Glob. |
| Find.UnaryTest |
A
Find.Test with one operand expression. |
| Find.WritabilityTest |
Tests the value of the boolean property "canWrite".
|
| Main |
A FIND utility that can recurse into directories, archive files and compressed files.
|
| Parser |
Parses the predicate syntax of the UNIX FIND command line utility.
|
Copyright © 2019 Arno Unkrig. All rights reserved.