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.
n.getProperty("cm:content").getString(); //Où n est ma node.
// Récupération du service Content d'Alfresco ContentServiceSoapBindingStub contentService = WebServiceFactory.getContentService(); Predicate predicate = new Predicate(); predicate.setNodes(new Reference[] {reference de ton noeud}); // Lecture du contenu dans le repository Content[] readResult = contentService.read(predicate,Constants.PROP_CONTENT); Content contenu =readResult[0]; System.out.println("Taille: "+contenu.getLength()+"octets");