...
import java.io.File;
import org.apache.pdfbox.pdmodel.PDDocument;
import org.apache.pdfbox.util.PDFTextStripper;
...
try
{
PDDocument pddDocument = PDDocument.load(new
File("C:/spaces.pdf"));
PDFTextStripper textStripper=new PDFTextStripper();
pddDocument.close();
String sStripped = textStripper.getText(pddDocument);
}
catch(Exception ex)
{
ex.printStackTrace();
}
Best
Dirk
2012/2/23 Donald Henri AZOKLI-ASSOGBA <[email protected]>
> Can you explain me how will i do to read in my application any pdf
> document?? thks