I tried this and it didn't work. Hopefully someone is still around to help
My goal is to read a PDF from a URL.
HEre's my code
PDDocument doc = PDDocument.load(new File("https://spstest.mckesson.com/iPledgeUI/rems/pdf/resources/iPledge_REMS_Non_Compliance_Action_Policy.pdf"
This is the error
https:/spstest.mckesson.com/iPledgeUI/rems/pdf/resources/iPledge_REMS_Non_Compliance_Action_Policy.pdf (No such file or directory)
When I change the FILE to URL I get error in IDE
CAN NOT RESOLVE METHOD load(java.net.URL)
I'm using IntelliJ