Package org.apache.tika.example
Class MyFirstTika
- java.lang.Object
-
- org.apache.tika.example.MyFirstTika
-
public class MyFirstTika extends Object
Demonstrates how to call the different components within Tika: itsDetector
framework (aka MIME identification and repository), itsParser
interface, itsorg.apache.tika.language.LanguageIdentifier
and other goodies.It also shows the "easy way" via
AutoDetectParser
-
-
Constructor Summary
Constructors Constructor Description MyFirstTika()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(String[] args)
static String
parseUsingAutoDetect(String filename, TikaConfig tikaConfig, Metadata metadata)
static String
parseUsingComponents(String filename, TikaConfig tikaConfig, Metadata metadata)
-