Support Questions
Find answers, ask questions, and share your expertise

FlowFile to Java.IO.File conversion

New Contributor

Very new to Nifi and am trying to build out a capability. I have some PDF specific code that is expecting a Java.IO.File type. My input from reading from S3 is a flow file (org.apache.nifi.flowfile.FlowFile). Is there an easy to to cast FlowFile to File?