filter_tutorial
The filter_tutorial
sample program demonstrates how to use the File Extraction, Filter, and Metadata APIs together to get content from a file. Given an input file, it extracts text, optionally gets format information, extracts metadata, and extracts subfiles. It recursively processes each subfile that it extracts. It also provides options to use the APIs in file mode or stream mode.
-
configuration.h
—contains macros that you must set before you buildfilter_tutorial
. -
filter_tutorial.c
—contains the functions that directly interact with the Filter SDK. The top level function isfilterTutorial()
. -
main.c
—contains themain
function, which callsfilterTutorial()
.
A filter_tutorial.exe
is included in the File Content Extraction installation. You must run filter_tutorial.exe
in the bin
directory.
To get usage information and a list of options, run filter_tutorial
without arguments.