File Content Extraction 25.2
HTML Export SDK Java Programming Guide

# Determine a Document Reader

The format detection module uses information in the file `formats_e.ini` to determine whether a format is supported, and to determine the reader to use to parse a format. The entries in the `[Formats]` section of `formats_e.ini` match file formats with readers.

Each file format has the following structure, where the parts following `MajorFormat` are optional:

    MajorFormat.FileClass.MinorFormat.MajorVersion.MinorVersion

The reader to use for parsing each format is specified as an abbreviation of the reader's library name. Adding "`sr`" to the end of an abbreviation creates the name of the reader.

The following example specifies that an Adobe PDF file (format 230) is parsed by the Adobe PDF reader, `pdfsr`:

    230=pdf

NOTE: The `formats.ini` file applies to all formats except graphics. Detection of graphics formats is handled by an internal module named KeyView Picture Interchange Format (KPIF).

Document Readers lists the document readers provided with File Content Extraction.

Copyright 1997-2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 25.2

Topic Title: Determine a Document Reader