public class BulkFingerprinter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Dictionary |
dict |
protected Fingerprinter |
fingerprinter |
protected java.lang.String |
fingerprinterName |
Constructor and Description |
---|
BulkFingerprinter(Dictionary dict,
java.lang.String fingerprinterName) |
BulkFingerprinter(int maxThread)
A constructor for when you want to limit the number of threads that are run
|
BulkFingerprinter(java.lang.String fingerprinterName,
FileLister files,
Dictionary dictionary)
A constructor that will set the number of threads equal to the number of cores.
|
BulkFingerprinter(java.lang.String fingerprinterName,
FileLister files,
Dictionary dictionary,
int maxThread)
A constructor for when you want to limit the number of threads that are run
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Fingerprint> |
asyncBulkFing(java.io.File[] file) |
protected Dictionary dict
protected Fingerprinter fingerprinter
protected java.lang.String fingerprinterName
public BulkFingerprinter(java.lang.String fingerprinterName, FileLister files, Dictionary dictionary, int maxThread)
fingerprinterName
- the name of the fingerprinter-derived class to use for fingerprintingfiles
- A FileLister object instantiated with the directory containing the files to fingerprintdictionary
- The dictionary to be used for fingerprintingmaxThread
- limit on number of threads to be usedpublic BulkFingerprinter(int maxThread)
maxThread
- limit on number of threads to be usedpublic BulkFingerprinter(java.lang.String fingerprinterName, FileLister files, Dictionary dictionary)
fingerprinterName
- the name of the fingerprinter-derived class to use for fingerprintingfiles
- A FileLister object instantiated with the directory containing the files to fingerprintdictionary
- The dictionary to be used for fingerprintingpublic BulkFingerprinter(Dictionary dict, java.lang.String fingerprinterName)
public java.util.List<Fingerprint> asyncBulkFing(java.io.File[] file)