-
Notifications
You must be signed in to change notification settings - Fork 28
Installation
benjamin4ruby edited this page Jul 29, 2011
·
26 revisions
There are two versions of JavaThumbnailer:
- If you want to include this as a library to your own project, or use it from command-line only, you should take the Standalone Version.
- For integration into the regain Desktop search, take the Regain Plugin Version.
- Get the recent version of JavaThumbnailer at the Download Page (or [build it from source](Building from Source).)
- To run it via the commandline:
java -jar javathumbnailer-standalone.jar input.doc [output.png] - To use it in your own project, include this
.jarin your classpath. For an example of usage (and configuration), see the code in Main.java.
- Get the recent version of JavaThumbnailer at the Download Page (or [build it from source](Building from Source).)
- Save it into the
/plugins/-Folder of regain. - Edit
CrawlerConfiguration.xmlto suit your needs. Here are the default values:
` de.uni_siegen.wineme.come_in.thumbnailer.plugin.ThumbnailerPlugin
thumbs/ <!-- Desired Image dimensions of the thumbnail. -->
<param name="imageWidth">160</param>
<param name="imageHeight">120</param>
</section>
<section name="externalHelpers">
<!-- Where is OpenOffice installed? If not available, try to auto-detect folders -->
<!-- <param name="openOfficeHome">file://c:/Programme/OpenOffice.org 3</param> -->
<!-- Where is the profile to use? If not available, a temporary profile is created (at each crawling process start) -->
<!-- <param name="openOfficeProfile">plugins/ressources/ooo-template-dir</param> -->
</section>
</config>
</crawlerPlugin>`