Example of how to use Tika to parse an file when you do not know its file type
ahead of time.
AutoDetectParser attempts to discover the file's type automatically, then call
the exact Parser built for that file type.
The stream to be parsed by the Parser. In this case, we get a file from the
resources folder of this project.
Handlers are used to get the exact information you want out of the host of
information gathered by Parsers. The body content handler, intuitively, extracts
everything that would go between HTML body tags.
The Metadata object will be filled by the Parser with Metadata discovered about
the file being parsed.