Class StandardsExtractionExample

java.lang.Object
org.apache.tika.example.StandardsExtractionExample

public class StandardsExtractionExample extends Object
Class to demonstrate how to use the StandardsExtractingContentHandler to get a list of the standard references from every file in a directory.

You can run this main method by running mvn exec:java -Dexec.mainClass="org.apache.tika.example.StandardsExtractionExample" -Dexec.args="/path/to/input" from the tika-example directory.

  • Constructor Details

    • StandardsExtractionExample

      public StandardsExtractionExample()
  • Method Details

    • main

      public static void main(String[] args)
    • processFolder

      public static void processFolder(Path folder)
    • process

      public static void process(Path path) throws Exception
      Throws:
      Exception