Skip to main content
Jump to: navigation, search


< SMILA‎ | Documentation
Revision as of 04:48, 13 November 2008 by (Talk | contribs) (Bundle: org.eclipse.eilf.processing.pipelets.mimetype.SimpleMimeTypeIdentifier)

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


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.

Useful Information

Note that this ProcessingService also is a DeclarativeService that implements interface org.eclipse.smila.processing.pipelets.mimetype.MimeTypeIdentifier and can be used outside the workflow as well.


  • configuration/org.eclipse.smila.processing.pipelets.mimetype/MimeTypeConfig.xml
Property Type Description
FileExtensionAttribute String name of the attribute containing the file extension
MimeTypeAttribute String name of the attribute to store the identified MimeType in

Note that all properties are required and must be provided.


The following example was used in the SMILA example application to identify MimeTypes of documents delivered by Filesystem- and WebCrawler.


<PipeletConfiguration xmlns="">
  <Property name="FileExtensionAttribute">
  <Property name="MimeTypeAttribute">

Copyright © Eclipse Foundation, Inc. All Rights Reserved.