Each file parser provides a dtsViewerInfo that describes which documents that file parser should handle.
Each parser provides in its dtsViewerInfo at least one of the following:
The following is a detailed summary of how the dtSearch Engine uses information in the dtsViewerInfo:
The confidence level for a match between an dtsInputStream and a parser is determined as follows:
Parsers should provide signatures whenever possible because they will be faster than the recognize() function.
Parsers are checked in the reverse order of their registration. External parsers, which will be registered last, can override internal parsers.
To give your file parser priority over other file parsers, set the flag viPriority in dtsViewerInfo.flags, and have it return the confidence level dtsMaxConfidence for matching files. File parsers with the viPriority flag set will be checked before other file parsers.