File Content Extraction 25.3
HTML Export SDK Java Programming Guide

# Introduction

The Java sample programs demonstrate how to use the Java implementation of HTML Export. The sample code is intended to provide a starting point for your own applications or to be used for reference purposes. You can also test these sample programs with the sample files provided in `install\testdocs`.

The source code for the programs is in the directory `javaapi/sample`. Included alongside the source code are compiled `.class` files, and Batch (`.bat`) and C Shell (`.csh`) files that help run each program.

Before the sample code can be compiled, you must replace the placeholder `YOUR_KEYVIEW_LICENSE`, in the `HtmlExport` constructor, with your license information.

The compiled `.class` files that are supplied in the SDK have an embedded trial license, which expires a few months after the release. If you set the environment variable `KV_SAMPLE_PROGRAM_LICENSE_FROM_FILEPATH` to a file path, the sample programs read your license from the specified file. This allows you to use the programs after the embedded trial license has expired, and to test or troubleshoot with your own license.

In addition to the sample programs, OpenText provides a reference implementation for HTML Export. For more information, see HTML Export Reference Implementation.

Copyright 1997-2025 Open Text
Version 25.3 | Last updated July 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.3

Topic Title: Introduction