Click or drag to resize
IMultiFileConverter Methods

The IMultiFileConverter type exposes the following members.

Methods
  NameDescription
Public methodAddBilingualProcessor
Appends a bilingual content processor to the container.
(Inherited from IBilingualProcessorContainer.)
Public methodAddExtractor
Adds another file converter to be used. The converter should be initialized properly.
Public methodApplyDocumentPropertiesToExtractors
Updates the file properties for each of the extractors to use the source and target languages specified in the document properties.
Public methodGetBilingualProcessors
The content processors, in the order in which they will be invoked
(Inherited from IBilingualProcessorContainer.)
Public methodInsertBilingualProcessor
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.)
Public methodInsertExtractor
Inserts a file converter to be used at a specific index. The converter should be initialized properly.
Public methodParse
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.
Public methodParseNext
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.
Public methodRemoveBilingualProcessor
(Inherited from IBilingualProcessorContainer.)
Public methodRemoveExtractor
Removes the specified converter.
Public methodSetDocumentInfo
Set document properties, optionally updating source and target languages for each of the extractors.
Public methodSynchronizeDocumentProperties
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.
Public methodUpdateDocumentPropertiesFromExtractors
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.

Top
See Also
Community
Edit
Be the first to Edit the community content of this topic.
Comments