read pdf file through java code

preview_player
Показать описание
how to read pdf file line by line through java code...
link of PDF_READER is

public class ReadPdf
{
public static void main(String args[]) throws IOException
{
try
{
{
PDFTextStripperByArea stripper = new PDFTextStripperByArea();
PDFTextStripper Tstripper = new PDFTextStripper();
Scanner scn = null;
scn = new Scanner(str);
String line="";
{
}
}
}
catch (Exception e)
{
}

}
}
Рекомендации по теме
Комментарии
Автор

Dear Sir/Madam,

Please can you help me encrypt PDF Files in one my folder with a dynamic password stored in the Excel File. For example I have in Column A Pdf file name and Password in Column B for the corresponding 100 PDF files

abdulbaig