DEV Community

parthimurali
parthimurali

Posted on

Spring boot - java - AWS

I need to get, merge and download two pdf file from s3 storage in spring boot or java... Basically how I need to merge two pdf after converting input steam then make single pdf as download.... Please suggest me.... Thanks in advance...

Top comments (1)

Collapse
 
snorri1986 profile image
Denys Shabelnyk •

1.Read first pdf using FileReader;

  1. Read second file using FileReader;
  2. Add content of second to the end of first. In my opinion it is first part of algorithm.