A B C D E F G H I J M N P S T

A

ArchiveDigger - class dutils.digger.ArchiveDigger.
Implements a search operation whithin an archive.
The operation is implemented as a class to ease the handling of nested archives.
ArchiveDigger(File, SearchData) - Constructor for class dutils.digger.ArchiveDigger
Constructs a new Archivedigger.

B

BOTH - Static variable in interface dutils.digger.ComparisonTransformation
 
bslash2slash(String) - Static method in class dutils.digger.DiggerUtils
 

C

Comparator - class dutils.digger.comparators.Comparator.
Comparators hold search data and know to tell if a given File or ZipEntry match the search criteria.
Comparator(String[], String[]) - Constructor for class dutils.digger.comparators.Comparator
Creates a new Comparator object.
Comparator(String[], String[], StringTransformation[]) - Constructor for class dutils.digger.comparators.Comparator
Creates a new Comparator object.
compare(File) - Method in class dutils.digger.comparators.MethodComparator
 
compare(File) - Method in class dutils.digger.comparators.FieldComparator
 
compare(File) - Method in class dutils.digger.comparators.EntriesDefaultComparator
 
compare(File) - Method in class dutils.digger.comparators.Comparator
Checks if a given file matches search criteria.
compare(File) - Method in class dutils.digger.comparators.DefaultComparator
 
compare(File, ZipFile, ZipEntry) - Method in class dutils.digger.comparators.MethodComparator
 
compare(File, ZipFile, ZipEntry) - Method in class dutils.digger.comparators.FieldComparator
 
compare(File, ZipFile, ZipEntry) - Method in class dutils.digger.comparators.EntriesDefaultComparator
 
compare(File, ZipFile, ZipEntry) - Method in class dutils.digger.comparators.Comparator
Checks if a given ZipEntry matches search criteria.
compare(File, ZipFile, ZipEntry) - Method in class dutils.digger.comparators.DefaultComparator
 
compare(String) - Method in class dutils.digger.comparators.Comparator
This method is called by the other compare() methods for String comparisons.
compareStrImpl(String) - Method in class dutils.digger.comparators.Comparator
Compares a given String to check if it matches the search criteria.
ComparisonTransformation - interface dutils.digger.ComparisonTransformation.
This interface defines a Transformation of two strings.

D

DefaultComparator - class dutils.digger.comparators.DefaultComparator.
A default Comparator that checks if the searched file or ZipEntry String representation matches the search.
DefaultComparator(String[], String[]) - Constructor for class dutils.digger.comparators.DefaultComparator
Creates a new DefaultComparator object.
DefaultComparator(String[], String[], StringTransformation[]) - Constructor for class dutils.digger.comparators.DefaultComparator
Creates a new DefaultComparator.
dig() - Method in class dutils.digger.DirectoryDigger
 
dig() - Method in class dutils.digger.Digger
performs a dig (search) operation and returns results as a String array where each String describes an absolute location of a matching result.
In the context of files, an absolute result is a file's full path.
dig() - Method in class dutils.digger.ArchiveDigger
 
dig() - Method in class dutils.digger.JDigger
 
Digger - class dutils.digger.Digger.
An abstract class for a generic 'digger' class.
Instances of Digger can search all sorts of locations (for example, directories or archives).
All search data (like what to search for) is contained in a SearchData object.
Digger(SearchData) - Constructor for class dutils.digger.Digger
Constructor for Digger.
DiggerUtils - class dutils.digger.DiggerUtils.
A class with utility methods.
DiggerUtils() - Constructor for class dutils.digger.DiggerUtils
 
digRelative() - Method in class dutils.digger.DirectoryDigger
 
digRelative() - Method in class dutils.digger.Digger
performs a dig (search) operation and returns results as a String array where each String describes a relative location of a matching result (relative to this digger search start point).
In the context of files, a relative result is a file's relative path.
digRelative() - Method in class dutils.digger.ArchiveDigger
 
DirectoryDigger - class dutils.digger.DirectoryDigger.
A directory Digger.
Digs a given directory using the given SearchData.
DirectoryDigger(File, SearchData) - Constructor for class dutils.digger.DirectoryDigger
Constructor for DirectoryDigger.
dutils.digger - package dutils.digger
 
dutils.digger.comparators - package dutils.digger.comparators
 
dutils.digger.processors - package dutils.digger.processors
 
dutils.digger.transformations - package dutils.digger.transformations
 

E

ENTRIES_ONLY - Static variable in interface dutils.digger.ComparisonTransformation
 
EntriesDefaultComparator - class dutils.digger.comparators.EntriesDefaultComparator.
A Comparator that checks if the searched file or ZipEntry String representation matches the search.
EntriesDefaultComparator(String[], String[]) - Constructor for class dutils.digger.comparators.EntriesDefaultComparator
Creates a new EntriesDefaultComparator.
EntriesDefaultComparator(String[], String[], StringTransformation[]) - Constructor for class dutils.digger.comparators.EntriesDefaultComparator
Creates a new EntriesDefaultComparator.
exclude - Variable in class dutils.digger.comparators.Comparator
 
ExtractingProcessor - class dutils.digger.processors.ExtractingProcessor.
This SearchProcessor extracts matching entries into a given directory.
ExtractingProcessor(File) - Constructor for class dutils.digger.processors.ExtractingProcessor
Creates a new ExtractingProcessor.
ExtractingProcessor(String) - Constructor for class dutils.digger.processors.ExtractingProcessor
Creates a new ExtractingProcessor.

F

FieldComparator - class dutils.digger.comparators.FieldComparator.
In case that a searched entry is a class file, this Comparator compares fields names to check if they match the search criteria.
FieldComparator(String[], String[], boolean) - Constructor for class dutils.digger.comparators.FieldComparator
Creates a new FieldComparator object.
FieldPrintProcessor - class dutils.digger.processors.FieldPrintProcessor.
This SearchProcessor prints matching fields to the standard output stream.
FieldPrintProcessor(FieldComparator) - Constructor for class dutils.digger.processors.FieldPrintProcessor
Creates a new FieldPrintProcessor.
flagIdentifier() - Method in interface dutils.digger.ComparisonTransformation
 

G

getCanonicalPath(File) - Static method in class dutils.digger.DiggerUtils
 
getFlagDescriptor() - Method in interface dutils.digger.ComparisonTransformation
 
getLastFound() - Method in class dutils.digger.comparators.MethodComparator
 
getLastFound() - Method in class dutils.digger.comparators.FieldComparator
 
getOutputDir() - Method in class dutils.digger.processors.ExtractingProcessor
 
getTransformType() - Method in interface dutils.digger.ComparisonTransformation
 

H

hasFieldInClass(InputStream, String[], String[]) - Static method in class dutils.digger.DiggerUtils
 
hasFieldInClass(InputStream, String[], String[], boolean) - Static method in class dutils.digger.DiggerUtils
 
hasMethodInClass(InputStream, String[], String[]) - Static method in class dutils.digger.DiggerUtils
 
hasMethodInClass(InputStream, String[], String[], boolean) - Static method in class dutils.digger.DiggerUtils
 

I

isArchive(String) - Static method in class dutils.digger.DiggerUtils
 
isKeepDirStructure() - Method in class dutils.digger.processors.ExtractingProcessor
 

J

JavaTransformation - class dutils.digger.transformations.JavaTransformation.
 
JavaTransformation() - Constructor for class dutils.digger.transformations.JavaTransformation
 
JDigger - class dutils.digger.JDigger.
A command line utility that uses the JDigger API in order to recursively search a directory for Java related items (searches also directory and archives).
JDigger() - Constructor for class dutils.digger.JDigger
 

M

main(String[]) - Static method in class dutils.digger.JDigger
 
MethodComparator - class dutils.digger.comparators.MethodComparator.
In case that a searched entry is a class file, this Comparator compares method names to check if they match the search criteria.
MethodComparator(String[], String[], boolean) - Constructor for class dutils.digger.comparators.MethodComparator
Creates a new MethodComparator object.
MethodPrintProcessor - class dutils.digger.processors.MethodPrintProcessor.
This SearchProcessor prints matching methods to the standard output stream.
MethodPrintProcessor(MethodComparator) - Constructor for class dutils.digger.processors.MethodPrintProcessor
Creates a new FieldPrintProcessor.

N

NoCaseTransformation - class dutils.digger.transformations.NoCaseTransformation.
 
NoCaseTransformation() - Constructor for class dutils.digger.transformations.NoCaseTransformation
 

P

PrintProcessor - class dutils.digger.processors.PrintProcessor.
This SearchProcessor prints matching entries to the standard output stream.
PrintProcessor() - Constructor for class dutils.digger.processors.PrintProcessor
 
process(File) - Method in interface dutils.digger.processors.SearchProcessor
Used when a File that matches the search criteria is found.
process(File) - Method in class dutils.digger.processors.PrintProcessor
 
process(File) - Method in class dutils.digger.processors.MethodPrintProcessor
 
process(File) - Method in class dutils.digger.processors.FieldPrintProcessor
 
process(File) - Method in class dutils.digger.processors.ExtractingProcessor
 
process(File, ZipFile, ZipEntry) - Method in interface dutils.digger.processors.SearchProcessor
Used when a ZipEntry that matches the search criteria is found.
process(File, ZipFile, ZipEntry) - Method in class dutils.digger.processors.PrintProcessor
 
process(File, ZipFile, ZipEntry) - Method in class dutils.digger.processors.MethodPrintProcessor
 
process(File, ZipFile, ZipEntry) - Method in class dutils.digger.processors.FieldPrintProcessor
 
process(File, ZipFile, ZipEntry) - Method in class dutils.digger.processors.ExtractingProcessor
 

S

SEARCHED_VALUE_ONLY - Static variable in interface dutils.digger.ComparisonTransformation
 
SearchProcessor - interface dutils.digger.processors.SearchProcessor.
SearchProcessors are applied when a File or a ZipEntry are found to match the search criteria.
setKeepDirStructure(boolean) - Method in class dutils.digger.processors.ExtractingProcessor
 
setOutputDir(File) - Method in class dutils.digger.processors.ExtractingProcessor
 
string2HashSet(String) - Static method in class dutils.digger.DiggerUtils
s is a string for tokenizing with ';' as delimiter.
StringTransformation - interface dutils.digger.transformations.StringTransformation.
Represents a generic String transformation.
This is used in order to transform either the search string or the strings of processed entries (for example, file names).

T

toFind - Variable in class dutils.digger.comparators.Comparator
 
transform(String) - Method in class dutils.digger.transformations.NoCaseTransformation
 
transform(String) - Method in class dutils.digger.transformations.JavaTransformation
 
transform(String) - Method in interface dutils.digger.transformations.StringTransformation
 
transformEntries(String) - Method in interface dutils.digger.ComparisonTransformation
A method that transforms the entries that are being searched and compared with the searched value.
transformSearchedValue(String) - Method in interface dutils.digger.ComparisonTransformation
A method that transfomes the searched value.
transformsOnSearchedEntry - Variable in class dutils.digger.comparators.Comparator
 

A B C D E F G H I J M N P S T