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
preguntada hace 6 meses302 visualizaciones
1 Respuesta
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 hace 6 meses
profile picture
EXPERTO
revisado hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas