public String parseToStringExample() throws IOException, SAXException, TikaException {
        Tika tika = new Tika();
        try (InputStream stream = ParsingExample.class.getResourceAsStream("test.doc")) {
            return tika.parseToString(stream);
        }
    }
Example of how to use Tika's parseToString method to parse the content of a file,
and return any text found.
<p>
Note: Tika.parseToString() will extract content from the outer container
document and any embedded/attached documents.

@return The content of a file.
tika-example/src/main/java/org/apache/tika/example/ParsingExample.java