You would normally use getFileDocumentContent to access the contents of a Mendix FileDocument. This will return an InputStream. Does your Java library accept an InputSteam?
If you need to save back to a FileDocument, have a look at the storeFileDocumentContent method.
https://apidocs.rnd.mendix.com/9/runtime/com/mendix/core/Core.html#getFileDocumentContent(com.mendix.systemwideinterfaces.core.IContext,com.mendix.systemwideinterfaces.core.IMendixObject)
https://apidocs.rnd.mendix.com/9/runtime/com/mendix/core/Core.html#storeFileDocumentContent(com.mendix.systemwideinterfaces.core.IContext,com.mendix.systemwideinterfaces.core.IMendixObject,java.io.InputStream)
Good luck!
Hi Vaishnavi,
Create a java action with your PPT file document type as input parameter. Use same entity type as output value also.
Deploy project for eclipse and add custom java logic to add footer in your PPT file document. Return the changed filedocument object in java action.
Check documentation below,
https://apidocs.rnd.mendix.com/7/runtime/com/mendix/systemwideinterfaces/core/IMendixObject.html