- AbstractElementWithOperands - Class in de.unkrig.zz.find
-
Abstract base class for various ANT beans that have EXPRESSION subelements.
- AbstractElementWithOperands() - Constructor for class de.unkrig.zz.find.AbstractElementWithOperands
-
- addConfigured(AntTask.ExpressionElement) - Method in class de.unkrig.zz.find.AbstractElementWithOperands
-
Another expression that will be evaluated for each directory, file and archive entry.
- addConfigured(AntTask.ExpressionElement) - Method in class de.unkrig.zz.find.AntTask
-
Another expression that will be evaluated for each directory, file and archive entry.
- addConfigured(ResourceCollection) - Method in class de.unkrig.zz.find.AntTask
-
Resources to examine.
- addConfigured(AntTask.ExpressionElement) - Method in class de.unkrig.zz.find.AntTask.AndElement
-
- addConfigured(AntTask.ExpressionElement) - Method in class de.unkrig.zz.find.AntTask.CommaElement
-
- addConfigured(AntTask.ExpressionElement) - Method in class de.unkrig.zz.find.AntTask.NotElement
-
The expression to negate.
- addConfigured(AntTask.ExpressionElement) - Method in class de.unkrig.zz.find.AntTask.OrElement
-
- addLog(String) - Static method in class de.unkrig.zz.find.Main
-
Add logging at level FINE on logger "de.unkrig" to STDERR using the "FormatFormatter"
and "SIMPLE" format, or the given arguments, which are all optional.
- AndElement() - Constructor for class de.unkrig.zz.find.AntTask.AndElement
-
- AntTask - Class in de.unkrig.zz.find
-
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() - Constructor for class de.unkrig.zz.find.AntTask
-
- AntTask.AndElement - Class in de.unkrig.zz.find
-
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 - Class in de.unkrig.zz.find
-
Copies the contents of the current file to STDOUT and evaluates to TRUE.
- AntTask.ChecksumElement - Class in de.unkrig.zz.find
-
Calculates a "checksum" of the contents, prints it and returns true.
- AntTask.CommaElement - Class in de.unkrig.zz.find
-
Evaluates subexpressions sequentially; returns the value of the last subexpression.
- AntTask.CopyElement - Class in de.unkrig.zz.find
-
Copies the contents of the current file to the named file and evaluates to TRUE.
- AntTask.DeleteElement - Class in de.unkrig.zz.find
-
Delete file; Evaluates to true if removal succeeded.
- AntTask.DigestElement - Class in de.unkrig.zz.find
-
Calculates a "message digest" of the contents, prints it and returns true.
- AntTask.DisassembleElement - Class in de.unkrig.zz.find
-
Disassembles a Java .class file to STDOUT or a given file and evaluates to true.
- AntTask.EchoElement - Class in de.unkrig.zz.find
-
Prints a text and evaluates to true.
- AntTask.ExecElement - Class in de.unkrig.zz.find
-
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 - Class in de.unkrig.zz.find
-
Evaluates to true iff the current file/directory is executable.
- AntTask.ExpressionElement - Interface in de.unkrig.zz.find
-
- AntTask.FalseElement - Class in de.unkrig.zz.find
-
Evaluates to false.
- AntTask.LsElement - Class in de.unkrig.zz.find
-
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 - Class in de.unkrig.zz.find
-
Checks the modification time of the current file or archive entry.
- AntTask.NameElement - Class in de.unkrig.zz.find
-
Evaluates to true iff the name of the current file/directory/archive entry matches the given
glob.
- AntTask.NotElement - Class in de.unkrig.zz.find
-
Negates its subelement expression.
- AntTask.OrElement - Class in de.unkrig.zz.find
-
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 - Class in de.unkrig.zz.find
-
Evaluates to true iff the path of the current file/directory/archive entry matches the given
glob.
- AntTask.PipeElement - Class in de.unkrig.zz.find
-
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 - Class in de.unkrig.zz.find
-
Prints the path of the current file/directory/archive entry and evaluates to true.
- AntTask.PropertyElement - Class in de.unkrig.zz.find
-
Sets an ANT property.
- AntTask.PruneElement - Class in de.unkrig.zz.find
-
Evaluates to true.
- AntTask.ReadableElement - Class in de.unkrig.zz.find
-
Evaluates to true iff the current file/directory is readable.
- AntTask.SizeElement - Class in de.unkrig.zz.find
-
Checks the size of the current file or archive entry.
- AntTask.TrueElement - Class in de.unkrig.zz.find
-
Evaluates to true.
- AntTask.TypeElement - Class in de.unkrig.zz.find
-
Evaluates to whether the type of the current file/directory/archive entry matches.
- AntTask.WritableElement - Class in de.unkrig.zz.find
-
Evaluates to true iff the current file/directory is writable.
- FalseElement() - Constructor for class de.unkrig.zz.find.AntTask.FalseElement
-
- fileProperties(String, File) - Static method in class de.unkrig.zz.find.Find
-
Returns a mapping of all relevant properties of the given file.
- Find - Class in de.unkrig.zz.find
-
The central API for the ZZFIND functionality.
- Find() - Constructor for class de.unkrig.zz.find.Find
-
- Find.AndTest - Class in de.unkrig.zz.find
-
Iff lhs evaluates to TRUE, then rhs is evaluated and its result is returned.
- Find.BinaryTest - Class in de.unkrig.zz.find
-
A Find.Test with two operand expressions.
- Find.BooleanTest - Class in de.unkrig.zz.find
-
Gets and returns the value of a boolean property, or false if that property is not set.
- Find.CatAction - Class in de.unkrig.zz.find
-
Copies the contents of the current file or archive entry to a given
OutputStream and evaluates to
true.
- Find.ChecksumAction - Class in de.unkrig.zz.find
-
Calculates a "checksum" of an input stream's content and prints it to Printers.info(String).
- Find.CommaTest - Class in de.unkrig.zz.find
-
Evaluates lhs, then rhs, and returns the result of the latter evaluation.
- Find.ConstantTest - Class in de.unkrig.zz.find
-
Evaluates to a constant boolean value.
- Find.CopyAction - Class in de.unkrig.zz.find
-
Copies the contents of the current file or archive entry to a given file and evaluates to true.
- Find.DeleteAction - Class in de.unkrig.zz.find
-
Sets the "prune flag".
- Find.DigestAction - Class in de.unkrig.zz.find
-
Calculates a "message digest" of an input stream's content and prints it to Printers.info(String).
- Find.DisassembleAction - Class in de.unkrig.zz.find
-
Disassembles a Java class file.
- Find.EchoAction - Class in de.unkrig.zz.find
-
Prints one message and returns true.
- Find.ExecAction - Class in de.unkrig.zz.find
-
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 - Class in de.unkrig.zz.find
-
Tests the value of the boolean property "canExecute".
- Find.Expression - Interface in de.unkrig.zz.find
-
Representation of the "FIND expression".
- Find.GlobTest - Class in de.unkrig.zz.find
-
Matches a Glob with a property value.
- Find.LsAction - Class in de.unkrig.zz.find
-
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 - Class in de.unkrig.zz.find
-
Representation of a Find.Test which checks the node's modification time against the current time and a
(days-based) predicate.
- Find.NameTest - Class in de.unkrig.zz.find
-
Tests the value of property "name" against a Glob.
- Find.NotExpression - Class in de.unkrig.zz.find
-
Evaluates a delegate expression and negates its result.
- Find.OrTest - Class in de.unkrig.zz.find
-
Iff lhs evaluates to FALSE, then rhs is evaluated and its result is returned.
- Find.PathTest - Class in de.unkrig.zz.find
-
Tests the value of property "path" against a Glob.
- Find.PipeAction - Class in de.unkrig.zz.find
-
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> - Class in de.unkrig.zz.find
-
Evaluates a predicate for a property's value and returns the result, or null iff the property is not
set.
- Find.PrintAction - Class in de.unkrig.zz.find
-
Prints the path of the current file and returns true.
- Find.PrintfAction - Class in de.unkrig.zz.find
-
Prints one message and returns true.
- Find.PruneAction - Class in de.unkrig.zz.find
-
Sets the "prune flag".
- Find.ReadabilityTest - Class in de.unkrig.zz.find
-
Tests the value of the boolean property "canRead".
- Find.SizeTest - Class in de.unkrig.zz.find
-
Tests the value of the LONG property "size".
- Find.StringPredicateTest - Class in de.unkrig.zz.find
-
Evaluates a property's value, converted to
String, against a predicate.
- Find.TypeTest - Class in de.unkrig.zz.find
-
Tests the value of property "type" against a Glob.
- Find.UnaryTest - Class in de.unkrig.zz.find
-
A Find.Test with one operand expression.
- Find.WritabilityTest - Class in de.unkrig.zz.find
-
Tests the value of the boolean property "canWrite".
- findInFile(File) - Method in class de.unkrig.zz.find.Find
-
Executes the search in the file (which may be a normal file, or a directory).
- findInResource(String, URL) - Method in class de.unkrig.zz.find.Find
-
Executes the search in the resource (which may be a normal file, a directory, or any other resource).
- findInStream(InputStream) - Method in class de.unkrig.zz.find.Find
-
Executes the search in STDIN, with path "-".
- setAlgorithm(String) - Method in class de.unkrig.zz.find.AntTask.DigestElement
-
The algorithm to use.
- setCommand(String) - Method in class de.unkrig.zz.find.AntTask.ExecElement
-
The command to execute; program name and command line arguments separated by whitespace.
- setCommand(String) - Method in class de.unkrig.zz.find.AntTask.PipeElement
-
The command to execute; program name and command line arguments separated by whitespace.
- setDays(String) - Method in class de.unkrig.zz.find.AntTask.ModificationTimeElement
-
Specifies that the file or archive entry was last modified exactly (more than, less than) N
days ago.
- setDebug() - Method in class de.unkrig.zz.find.Main
-
Print verbose and debug messages.
- setDescendantsFirst(boolean) - Method in class de.unkrig.zz.find.AntTask
-
Whether to process each directory's contents before the directory itself, and each archive's entries before
the archive itself, and each compressed contents before the enclosing file or archive entry.
- setDescendantsFirst(boolean) - Method in class de.unkrig.zz.find.Find
-
Whether to process each directory's contents before the directory itself, and each archive's entries before
the archive itself, and each compressed contents before the enclosing file or archive entry.
- setDescendantsFirst() - Method in class de.unkrig.zz.find.Main
-
Process each directory's contents before the directory itself, and each archive's entries before the archive
itself, and each compressed contents before the enclosing file or archive entry.
- setDir(File) - Method in class de.unkrig.zz.find.AntTask
-
Also examine the given directory.
- setExceptionHandler(ConsumerWhichThrows<? super IOException, IOException>) - Method in class de.unkrig.zz.find.Find
-
- setExpression(Find.Expression) - Method in class de.unkrig.zz.find.Find
-
Sets the "find expression", i.e. the construct specified with the "-name", "-print", etc. command line options.
- setFile(File) - Method in class de.unkrig.zz.find.AntTask
-
Also examine the given file.
- setHidesLines(boolean) - Method in class de.unkrig.zz.find.AntTask.DisassembleElement
-
Whether to suppress line numbers in the disassembly output.
- setHidesVars(boolean) - Method in class de.unkrig.zz.find.AntTask.DisassembleElement
-
Whether to suppress local variable names in the disassembly output.
- setLookInto(String) - Method in class de.unkrig.zz.find.AntTask
-
Archive files, nested archives, compressed files and nested compressed content are introspected iff the
archive/compression format and the file's (resp. nested archive entry's) path match the given globs.
- setLookInto(Glob) - Method in class de.unkrig.zz.find.Main
-
Look into compressed and archive contents if the format and the path match the globs.
- setLookIntoFormat(Predicate<? super String>) - Method in class de.unkrig.zz.find.Find
-
- setMaxDepth(int) - Method in class de.unkrig.zz.find.AntTask
-
Descend at most levels of directories below the top level files and directories.
- setMaxDepth(int) - Method in class de.unkrig.zz.find.Find
-
Descend at most levels of directories below the top level files and directories. "0" means "only
apply the tests and actions to the top level files and directories".
- setMaxDepth(int) - Method in class de.unkrig.zz.find.Main
-
Descend at most levels of directories below the top level files and directories. "0" means "only
apply the tests and actions to the top level files and directories".
- setMessage(String) - Method in class de.unkrig.zz.find.AntTask.EchoElement
-
The text to print.
- setMinDepth(int) - Method in class de.unkrig.zz.find.AntTask
-
Do not apply any tests or actions at levels less than levels.
- setMinDepth(int) - Method in class de.unkrig.zz.find.Find
-
Do not apply any tests or actions at levels less than levels.
- setMinDepth(int) - Method in class de.unkrig.zz.find.Main
-
- setMinutes(String) - Method in class de.unkrig.zz.find.AntTask.ModificationTimeElement
-
Specifies that the file or archive entry was last modified exactly (more than, less than) N
minutes ago.
- setMkdirs(boolean) - Method in class de.unkrig.zz.find.AntTask.CopyElement
-
Whether to create any missing parent directories for the output file.
- setName(String) - Method in class de.unkrig.zz.find.AntTask.PropertyElement
-
The name of the property to set.
- setNowarn() - Method in class de.unkrig.zz.find.Main
-
Suppress all messages except errors.
- setOutputFile(File) - Method in class de.unkrig.zz.find.AntTask
-
Print the output to the given file instead of STDOUT.
- setProperty(String) - Method in class de.unkrig.zz.find.AntTask.ChecksumElement
-
The property to set
- setProperty(String) - Method in class de.unkrig.zz.find.AntTask.DigestElement
-
The property to set.
- setQuiet() - Method in class de.unkrig.zz.find.Main
-
Suppress normal output.
- setSourceDirectory(File) - Method in class de.unkrig.zz.find.AntTask.DisassembleElement
-
Where to look for source files when disassembling .class files; null disables source file loading.
- setTofile(File) - Method in class de.unkrig.zz.find.AntTask.CopyElement
-
The file to copy to.
- setToFile(File) - Method in class de.unkrig.zz.find.AntTask.DisassembleElement
-
The file to redirect the disassembly output to.
- setType(Find.ChecksumAction.ChecksumType) - Method in class de.unkrig.zz.find.AntTask.ChecksumElement
-
The checksum type to use
- setUseSymbolicLabels(boolean) - Method in class de.unkrig.zz.find.AntTask.DisassembleElement
-
Whether to use numeric labels ('#123') or symbolic labels /'L12') in the bytecode disassembly.
- setValue(String) - Method in class de.unkrig.zz.find.AntTask.ModificationTimeElement
-
- setValue(String) - Method in class de.unkrig.zz.find.AntTask.NameElement
-
The glob to compare against.
- setValue(String) - Method in class de.unkrig.zz.find.AntTask.PathElement
-
The glob to compare against.
- setValue(String) - Method in class de.unkrig.zz.find.AntTask.PropertyElement
-
The text to store in the property.
- setValue(String) - Method in class de.unkrig.zz.find.AntTask.SizeElement
-
Specifies that the size of the current file is exactly (greater than, less than) N.
- setValue(String) - Method in class de.unkrig.zz.find.AntTask.TypeElement
-
The glob to compare the type against.
- setVerbose(boolean) - Method in class de.unkrig.zz.find.AntTask.DisassembleElement
-
Whether to include a constant pool dump, constant pool indexes, and hex dumps of all attributes in the
disassembly output.
- setVerbose() - Method in class de.unkrig.zz.find.Main
-
Print verbose messages.
- SizeElement() - Constructor for class de.unkrig.zz.find.AntTask.SizeElement
-
- SizeTest(Predicate<? super Long>) - Constructor for class de.unkrig.zz.find.Find.SizeTest
-