public class ExtractDictionary
extends java.lang.Object
Constructor and Description |
---|
ExtractDictionary() |
Modifier and Type | Method and Description |
---|---|
void |
extractDictionaryXML(java.lang.String input_file,
java.lang.String dictionary_file)
Produces an XML dictionary object from a fingerprint digest.
|
java.lang.String |
getDictionaryFilename()
Provides the filename of this extracted dictionary
|
static void |
main(java.lang.String[] args)
Extracts a dictionary from a fingerprint digest and writes it to a new dictionary file
|
public java.lang.String getDictionaryFilename()
public void extractDictionaryXML(java.lang.String input_file, java.lang.String dictionary_file)
dictionary_file
is null, the
dictionary contained in the fingerprinter digest is used.input_file
- the string name of the XML file containing the fingerprint digestdictionary_file
- the string name of the XML file to write the dictionary to, if null the name of the dictionary in the
fingerprint digest is usedpublic static void main(java.lang.String[] args)
args
- array of string command line argumentsargs[0]
the filename containing the fingerprint and its dictionary to extractargs[1]
the filename to write the extracted dictionary to