File Content Extraction 26.2
HTML Export SDK Java Programming Guide

# Export Password Protected Files

This section describes how to export password-protected non-container files with the Java API.

To export password-protected files

1. Create an instance of the `ConfigOption` class, and set the `OptionType` argument to `CFG_SETPASSWORD`, the `OptionValue` argument to `TRUE`, and the `OptionData` argument to the source file password. The password is a null-terminated string of 255 or fewer characters (the final byte is null).

2. Call the `setConfigOption` method`` and pass the `ConfigOption` object.

3. Call a convert method. See the Javadoc in the directory `install\javaapi\javadoc`, where `install` is the path name of the Export installation directory.

Copyright 1997-2026 Open Text
Version 26.2 | Last updated April 2026

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 26.2

Topic Title: Export Password Protected Files