Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tika Wiki" for change notification.
The "MockParser" page has been changed by TimothyAllison: https://wiki.apache.org/tika/MockParser?action=diff&rev1=4&rev2=5 `java -cp "bin/*" org.apache.tika.TikaCLI mock_example.xml` === Tika-server === - Place the tika-server.jar and the tika-core.tests.jar in a "bin" directory. + Place the tika-server.jar and the tika-core-tests.jar in a "bin" directory. `java -cp "bin/*" org.apache.tika.server.TikaServerCli` @@ -42, +42 @@ See the mock example.xml file in tika-parsers/src/test/resources/test-documents/mock. This shows all of the examples of what you can do. - ``` + + {{{ + <?xml version="1.0" encoding="UTF-8" ?> <mock> @@ -80, +82 @@ <!-- throw an exception or error; optionally include a message or not --> <throw class="java.io.IOException">not another IOException</throw> - <!-- perform a genuine !OutOfMemoryError --> + <!-- perform a genuine OutOfMemoryError --> <oom/> </mock> - `` + }}} + == References == 1. [[http://openpreservation.org/blog/2014/03/21/tika-ride-characterising-web-content-nanite/|Tika to Ride]] 2. [[http://events.linuxfoundation.org/sites/events/files/slides/TikaEval_ACNA15_allison_herceg_v2.pdf|Evaluating Text Extraction]]
