04-21-2008 10:44 AM
Map<QName, Serializable> prop = nodeService.getProperties(fileNodeRef);
String contentUrl = ((ContentData) prop.get(ContentModel.PROP_CONTENT)).getContentUrl();
if (contentUrl != null && contentUrl.length() > 0) {
ContentReader rawReader = contentService.getRawReader(contentUrl);
if (rawReader != null) {
try{
InputStreamResource ipsr = new InputStreamResource(rawReader.getContentInputStream());
if (ipsr != null) {
//ipsr.getFile();
arrayFiles.add(ipsr);
}
} catch(Exception e) {
System.out.println(e);
}
}
} 04-22-2008 05:12 AM
04-22-2008 05:14 AM
ContentReader reader = contentService.getReader(fineNodeRef, ContentModel.PROP_CONTENT);04-23-2008 06:12 AM
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.