Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "SMILA/Documentation/AperturePipelet"

m
Line 1: Line 1:
<span style="color:#ff0000"> '''THIS BUNDLE IS NOT AVAILABLE, YET !!!'''</span>
+
<span style="color:#ff0000">'''This pipelet is not available in our repository yet. As soon as the new Aperture release is available we will submit appropriate CQs and hopefully get permission to use it in our project.'''</span>
  
 
== Bundle: <tt>org.eclipse.smila.processing.pipelets.aperture.AperturePipelet</tt> ==
 
== Bundle: <tt>org.eclipse.smila.processing.pipelets.aperture.AperturePipelet</tt> ==

Revision as of 10:31, 3 May 2009

This pipelet is not available in our repository yet. As soon as the new Aperture release is available we will submit appropriate CQs and hopefully get permission to use it in our project.

Bundle: org.eclipse.smila.processing.pipelets.aperture.AperturePipelet

Description

This Pipelet converts various document formats (like PDF,XLS, etc.) to plain text using Aperture technology. It converts the document's content in AttachmentContent and stores the plain text result in AttachmentText. The optional MimeType of AttachmentContent in AttachmentMimeType is used for conversion. If no MimeType is provided a MimeType identification is done inside the Pipelet using a MimeTypeIdentifier service.

Configuration

Configuration File: configuration/org.eclipse.smila.processing.pipelets.aperture/ConverterConfig.xml

Property Type Description
AttachmentContent String name of the attachment containing the original document content
AttachmentText String name of the attachment to store the converted text in
AttachmentMimeType String name of the attribute containing the MimeType of the original document content

Note that all properties are required and must be provided.

Example

The following example was used in the SMILA example application to convert documents delivered by Filesystem- and WebCrawler to plain text.

ConverterConfig.xml

<PipeletConfiguration xmlns="http://www.eclipse.org/smila/processor">
  <Property name="AttachmentContent">
    <Value>Content</Value>
  </Property>
  <Property name="AttachmentText">
    <Value>Text</Value>
  </Property>
  <Property name="AttachmentMimeType">
    <Value>MimeType</Value>
  </Property>  
</PipeletConfiguration>

Copyright © Eclipse Foundation, Inc. All Rights Reserved.