[
https://jira.nuxeo.org/browse/NXP-6050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florent Guillaume reassigned NXP-6050:
--------------------------------------
Assignee: Thomas Roger
> Add a list of applicable mimetypes to BlobPostProcessor
> --------------------------------------------------------
>
> Key: NXP-6050
> URL: https://jira.nuxeo.org/browse/NXP-6050
> Project: Nuxeo Enterprise Platform
> Issue Type: Improvement
> Affects Versions: 5.4
> Reporter: Nelson Silva
> Assignee: Thomas Roger
>
> The BlobPostProcessor interface should define a method to determine whether a
> given mimetype should be processed or not.
> Currently AnnotationBlobPostProcessor, for instance, does it like this:
> public Blob process(Blob blob) {
> String mimetype = blob.getMimeType();
> if (mimetype == null || !mimetype.startsWith("text/")) {
> return blob;
> }
> ....
> }
> and there's no easy way to skip post processing based on mymetype (except
> writing your own HtmlPreviewAdapter)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets