Hi,

On Mon, Feb 16, 2009 at 6:15 PM, Moshe Liaks <[email protected]> wrote:
> I use the code below to read a pdf file.
> The code is working fine. The problem is that I have to read the pdf
> line by line and not like "one big string".
> I have this need, because the text is a complex one, and I need to
> apply some filters while reading each line from the original.

You could subclass the PDFTextStripper class, and do your filtering in
the writeLineSeparator() method after buffering all the text on that
line.

BR,

Jukka Zitting

Reply via email to