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
feita há 6 meses302 visualizações
1 Resposta
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
respondido há 6 meses
profile picture
ESPECIALISTA
avaliado há um mês

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas