This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Download tika-app-1.3.jar from here http://www.apache.org/dyn/closer.cgi/tika/tika-app-1.3.jar | |
2) Move it from Downloads to somewhere more useful. I created a folder called work. | |
3) The tika jar is actually an application. So, you can now either | |
a) Double-click on it to start it up. You'll get a little ui, and drag a file into the window. | |
You can use the view menu to switch type of output, text, xml etc | |
b) Use it as part of a program. Open a command-prompt (Applications,Utilities,Terminal) | |
cd to the folder where you put the jar | |
type java -jar tika-app-1.3.jar -x [filename] where [filename] is the file you want to read. | |
-x gives you xml, -t text etc. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<processes> | |
<!-- Process for A --> | |
<process id="id-process-A"> | |
<!-- Pipelines for A --> | |
<pipelines> | |
<pipeline id="id-pipeline-A1"> | |
<cmdlines> | |
<cmdline id="id-cmdline1-fo-a-and-b"> | |
<!-- Command line for A FO --> | |
</cmdline> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<route> | |
<!-- Read temperatures from the owfs directory structure. --> | |
<from uri="file:/Users/mark/work/test?noop=true&readLock=none&idempotent=false&delay=10000&antInclude=*/temperature&recursive=true" /> | |
<!-- Get temp and add date/time --> | |
<transform> | |
<simple>${bodyAs(String)} at ${date:now:yyyy-MM-dd hh:mm:ss}</simple> | |
</transform> |