TIKA - GUI
Graphical User Interface (GUI)
Tika provides a jar file along with its source code in the following link http://tika.apache.org/download.html.
Download both the files, set the classpath for the jar file.
Extract the source code zip folder, open the tika-app folder.
In the extracted folder at “tika-1.6\tika-app\src\main\java\org\apache\Tika\gui” you will see two class files: ParsingTransferHandler.java and TikaGUI.java.
Compile both the class files and execute the TikaGUI.java class file, it opens the following window.
Let us now see how to make use of the Tika GUI.
On the GUI, click open, browse and select a file that is to be extracted, or drag it onto the whitespace of the window.
Tika extracts the content of the files and displays it in five different formats, viz. metadata, formatted text, plain text, main content, and structured text. You can choose any of the format you want.
In the same way, you will also find the CLI class in the “tika-1.6\tika-app\src\main\java\org\apache\tika\cli” folder.
The following illustration shows what Tika can do. When we drop the image on the GUI, Tika extracts and displays its metadata.