Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.search.api.client.indexing.blobs
Interface BlobExtractor

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
NXTransformBlobExtractor

public interface BlobExtractor
extends java.io.Serializable

Blob full text extractor.

Author:
Julien Anguenot

Method Summary
 java.lang.String extract(Blob blob, java.lang.String mimetype, FulltextFieldDescriptor desc)
          Extracts fulltext from a streaming blob.
 

Method Detail

extract

java.lang.String extract(Blob blob,
                         java.lang.String mimetype,
                         FulltextFieldDescriptor desc)
                         throws java.lang.Exception
Extracts fulltext from a streaming blob.

Parameters:
blob - : a nxcore blob instance
mimetype - blob mimetype
Returns:
a string holding the the extracted fulltext for a given blob.
Throws:
java.lang.Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.