TIKA Extracting Text Document - Apache Tika

How to extract text document?

Here’s the program to extract content and metadata from a Text document:
Now save the above code as TextParser.java, and compile it from the command prompt by using the following commands:
Below given is the snap shot of example.txt document:
simple_documentl
The text document has the following properties:
document_properties
Once you execute the above program you will get the following output.

Output:

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Apache Tika Topics