| IMultiFileConverter Methods |
The IMultiFileConverter type exposes the following members.
| Name | Description | |
|---|---|---|
| AddBilingualProcessor |
Appends a bilingual content processor to the container.
(Inherited from IBilingualProcessorContainer.) | |
| AddExtractor |
Adds another file converter to be used. The converter should be initialized properly.
| |
| ApplyDocumentPropertiesToExtractors |
Updates the file properties for each of the extractors to use the source and target languages specified in the document
properties.
| |
| GetBilingualProcessors |
The content processors, in the order in which they will be invoked
(Inherited from IBilingualProcessorContainer.) | |
| InsertBilingualProcessor |
Inserts a bilingual processor at a specified position in the container.
Any item that is currently occupying that position will - after this operation - appear after the inserted processor.
(Inherited from IBilingualProcessorContainer.) | |
| InsertExtractor |
Inserts a file converter to be used at a specific index. The converter should be
initialized properly.
| |
| Parse |
Initializes the file type components and repeatedly invokes the ParseNext method on the parser until all content has been processed.
If there is a native parser, it will be used. Otherwise ,if there is a bilingual parser, that parser will be used.
If no parser has been specified, an exception will be thrown.
| |
| ParseNext |
Invokes the ParseNext() method on the appropriate parser, causing a chunk of content to be processed.
Ensures that the the parser components are initialized before parsing commences for the first time.
| |
| RemoveBilingualProcessor | (Inherited from IBilingualProcessorContainer.) | |
| RemoveExtractor |
Removes the specified converter.
| |
| SetDocumentInfo |
Set document properties, optionally updating source and target languages for each of the extractors.
| |
| SynchronizeDocumentProperties |
Properly synchronizes document properties between the converter and its extractors.
If document properties are available from a bilingual parser, they will be used. Otherwise,
the document properties will be deducted by querying existing extractors for languages.
| |
| UpdateDocumentPropertiesFromExtractors |
Set source and target languages of the document properties from the properties detected by the file sniffers
associated with the extractors. If different extractors have detected differing languages with certainty, this method does not change
the document properties and returns false. If different languages are detected with a detection level less then certain, the language with
the highest detection level will be used. If there is more than one language, the first one will take precedence.
If a target language has been set in the document properties, but no target language has been detected in the extractors, the target language of the document properties will be set to an uninitialized value. |