FilterStreamToStream

The FilterStreamToStream program filters an input stream to an output stream using Java API methods in Filter. It demonstrates the following functions:

Run FilterStreamToStream on Windows

To run FilterStreamToStream on Windows

  1. In the FilterStreamToStream.bat file, set INSTALL_DIR to the Filter installation directory.

  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:

    filterstreamtostream inputfile

    where,

Run FilterStreamToStream on UNIX

To run FilterStreamToStream on UNIX

  1. In the FilterStreamToStream.csh file, set MKENV to the platform you are running, either _hpux11, _ilnx21, _rs6k43, or _ssol26.

  2. In the FilterStreamToStream.csh file, set INSTALL_DIR to the Filter installation directory.

  3. 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:

    ./FilterStreamToStream.csh inputfile

    where,

_FT_HTML5_bannerTitle.htm