I have been trying to get the name, MIME type and content of a VWAttachment in FileNet P8. The content should be a byte array or an input stream.
UPDATE:
String name = attachment.getAttachmentName();
Gives me the name of VWAttachment
. And let's say by looking at the file extension I can decide proper MIME type. I need to know how can I get the content of the attachment in an InputStream
Any help is appreciated. Thanks!