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/SimpleMimeTypeIdentifierPipelet"

(Bundle: org.eclipse.eilf.processing.pipelets.mimetype.SimpleMimeTypeIdentifierPipelet)
(Replacing page with 'obsolete page. can be delted')
 
Line 1: Line 1:
== Bundle: <tt>org.eclipse.smila.processing.pipelets.mimetype.SimpleMimeTypeIdentifierPipelet</tt> ==
+
obsolete page. can be delted
 
+
=== 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: <tt>configuration/org.eclipse.smila.processing.pipelets.aperture/ConverterConfig.xml</tt>
+
 
+
{| border = 1
+
!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.
+
 
+
<source lang="xml">
+
<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>
+
</source>
+
 
+
 
+
[[Category:SMILA]]  [[Category:SMILA/Pipelet]]
+

Latest revision as of 04:48, 23 March 2009

obsolete page. can be delted

Back to the top