ContentExtractorFactory Class

Document content extractor factory API.

Definition

Namespace: OpenDiscoverSDK
Assembly: OpenDiscoverSDK (in OpenDiscoverSDK.dll) Version: 2026.2.6.0 (2026.02.06)
C#
public static class ContentExtractorFactory
Inheritance
Object    ContentExtractorFactory

Remarks

The content extractor factory returns specific interfaces that can be used to extract content from documents such as text, metadata, and attachments and to also extract items from archive and mail store containers.

Properties

CustomEntityDefinitionsLoaded Returns true if static method LoadCustomEntityDefinitions(ListCustomEntityDefinition) has previously been successfully called by the application.
NumCustomEntityDefinitionsLoaded The count of CustomEntityDefinition items previously loaded via static method LoadCustomEntityDefinitions(ListCustomEntityDefinition).

Methods

ClearCustomEntityDefinitions Clears CustomEntityDefinitions previously loaded by a previous call to method LoadCustomEntityDefinitions(ListCustomEntityDefinition). See remarks on thread safety.
GetAllSplitArchiveFilenames Given the file path to a main split archive or media image file part, returns all split segment file names contained in the directory of main part in proper order.
GetContentExtractor Returns a content extractor result for the given document using its document file format identification result (see IdResult).
JoinMimePartialMessages Joins MIME partial-messages (see MimeEmailPartial) into a single MIME message that can then be content extracted as a single whole message.
LoadCustomEntityDefinitions Loads user defined custom item definitions that can be detected in extracted text and metadata, see CustomEntityExtractionEnabled and CustomEntityDefinition. It is important to see remarks, as custom item defintions can only be loaded once.
ParseCustomEntityDefinitions Parses a string containing custom entity definitions into a list of CustomEntityDefinition. This list can them be passed to method LoadCustomEntityDefinitions(ListCustomEntityDefinition) as the argument.
ValidateCustomEntityDefinitions Validates user defined custom item definitions before attempting to load them into SDK (see LoadCustomEntityDefinitions(ListCustomEntityDefinition).

See Also