As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
String contentMimeType = this.contentService.getWriter(actionedUponNodeRef, ContentModel.PROP_CONTENT, true).getMimetype().toString();
public String getExtension(String mimetype)
Huberd va bientôt pouvoir écrire le livre du référence du développeur rien qu'en compilant ses messages
J'arrive un peu après la bataille, mais pour info il y a dans Alfresco le MimetypeService qui sert justement à ça.