Tika Jar File ExtractionTo extract Jar (Java ARchive) file, Tika provides PackageParser class. This class is used to extract content and metadata from the Jar file. It is located into the org.apache.tika.parser.pkg package and contains various constructors and methods that are tabled below. Tika PackageParser Constructor
Tika PackageParser Methods
Tika PackageParser ExampleOutput: Document Content: META-INF/MANIFEST.MF Manifest-Version: 1.0 Created-By: 1.7.0_01 (Oracle Corporation) Main-Class: First First.class public synchronized class First { void First(); public static void main(String[]); } Document Metadata: Content-Type: application/zip
Next TopicTika Extracting Flv File
|