The FilterFileToStream program filters an input file to an output stream using Java API methods in Filter.
To run FilterFileToStream on Windows
In the FilterFileToStream.bat file, set INSTALL_DIR to the Filter installation directory.
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.
To run FilterFileToStream on UNIX
In the FilterFileToStream.csh file, set MKENV to the platform you are running, either _hpux11, _ilnx21, _rs6k43, or _ssol26.
In the FilterFileToStream.csh file, set INSTALL_DIR to the Filter installation directory.
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).
|
|