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

SMILA/Documentation/SimpleMimeTypeIdentifierPipelet

< SMILA‎ | Documentation
Revision as of 05:33, 13 November 2008 by Pfreytag.brox.de (Talk | contribs) (Bundle: org.eclipse.eilf.processing.pipelets.mimetype.SimpleMimeTypeIdentifierPipelet)

Bundle: org.eclipse.smila.processing.pipelets.mimetype.SimpleMimeTypeIdentifierPipelet

Description

This ProcessingService is used to identify the mimetype of a document. The service uses the file extension todo the MIME type detection. The identified MimeType is store in an attribute in the record.

Configuration

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

Property Type Description
MIME Type String Name of MIME type field. Literal will be created.
Extension String Name of extension field. Expected as literal.

Note that all properties are required and must be provided.

Example

The following example is a snipplet from a BPEL pipeline.

<proc:invokePipelet>
  <proc:pipelet class="org.eclipse.smila.processing.pipelets.mimetype.SimpleMimeTypeIdentifierPipelet" />
  <proc:variables input="request" />
  <proc:PipeletConfiguration>
    <proc:Property name="MIME Type">
      <proc:Value>MIME Type</proc:Value>
    </proc:Property>
    <proc:Property name="Extension">
      <proc:Value>Extension</proc:Value>
    </proc:Property>
  </proc:PipeletConfiguration>
</proc:invokePipelet>

Back to the top