Java - S3 PDF file read line by line

0

Hi Team, I am using Java, Spring Boot, I would like to read the PDF file line by line from my S3 bucket. Is that possible ?

My use case is to generate some kind of JSON from the PDF which I am going to read it from S3 bucket. Can anyone help me on this ?

Vinoth
asked 6 months ago292 views
1 Answer
0

No, it is not possible to directly read the content of the S3 object object. reading and writing content in S3 must be based on the object as the basic unit.

You can consider the following different ways to perform S3 object RW:

  1. Use SDK(for example java sdk v2)download S3 object,then modify the content , finally, upload the new object to S3 for saving
  2. use Mountpoint for Amazon S3

If you need to perform remote file read and write operations, perhaps AWS EFS is more suitable for you

profile pictureAWS
answered 5 months ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions