Hi
I have studied the alfresco sample to write and read the contents of file through sample ContentReadAndWrite in Alfreco SDK. There is statement
Reference contentReference = ContentReadAndWrite.createNewContent(contentService, strFileName, strContents);
This statement writes the new contents in the file. But I just need to read the contents.
I need to make a method that takes filename as input and outputs the contents of that file.
How to do that? Any Help?
Regards
Yasir Mahmood