05-04-2007 03:54 AM
05-04-2007 05:53 AM
05-07-2007 10:24 AM
05-07-2007 11:27 AM
<property name="transformerRegistry">
<ref bean="contentTransformerRegistry"/>
</property>
Pour récupérer contentTransformerRegistry, vous aurez besoin de :private ContentTransformerRegistry transformerRegistry;
public void setTransformerRegistry(ContentTransformerRegistry transformerRegistry)
{
this.transformerRegistry = transformerRegistry;
}
05-08-2007 04:24 AM
ContentTransformer innerToTextTransformer = [b]ContentTransformerRegistry[/b].getTransformer(MimetypeMap.MIMETYPE_PDF, MimetypeMap.MIMETYPE_TEXT_PLAIN);
Au lieu du ContentTransformerRegistry, je fais ceci: ContentTransformer innerToTextTransformer = [b]ContentService[/b].getTransformer(MimetypeMap.MIMETYPE_PDF, MimetypeMap.MIMETYPE_TEXT_PLAIN);
J'utilise le ContentService injecté par Spring.Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.