KeyView 24.4
KeyView Filter SDK Java Programming Guide

# FilterFileToStream

The FilterFileToStream program filters an input file to an output stream using Java API methods in Filter.

## Run FilterFileToStream on Windows

To run `FilterFileToStream` on Windows

1. In the `FilterFileToStream.bat` file, set the following variables.

   `INSTALL_DIR` | The absolute path of the KeyView Filter SDK installation directory.
   `PLATFORM` | The platform name.

2. Run the batch file in the directory `install\javaapi\sample`, where `install` is the path name of the Filter installation directory. Type the following:

       filterfiletostream inputfile

   where,

   - `inputfile` is the path and file name of the source file.
   - The generated text is output to the current DOS prompt.

## Run FilterFileToStream on UNIX

To run `FilterFileToStream` on UNIX

1. In the `FilterFileToStream.csh` file, set the following variables.

   `INSTALL_DIR` | The absolute path of the KeyView Filter SDK installation directory.
   `PLATFORM` | The platform name.

2. Run the C shell file in the directory `install/javaapi/sample`, where `install` is the path name of the Filter installation directory. Type the following:

       ./FilterFileToStream.csh inputfile

   where,

   - `inputfile` is the path and file name of the source file.
   - The generated text is output to the current console (standard out).

Copyright 1997-2024 Open Text
Version 24.4 | Last updated September 2024

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: IDOL KeyView 24.4

Topic Title: FilterFileToStream