class checked

parent 985d6543
......@@ -4,7 +4,7 @@ import com.itextpdf.text.pdf.parser.PdfTextExtractor;
public class PDFReadderTest {
public static void main(String[] args) {
try {
PdfReader pdfReader = new PdfReader("test.pdf");
PdfReader pdfReader = new PdfReader("C:\\Users\\Ali\\Desktop\\edu\\bakhshi,slids\\lec 1 - intro.pdf");
int pages = pdfReader.getNumberOfPages();
for (int i = 1; i <= pages; i++) {
String pageContent = PdfTextExtractor.getTextFromPage(pdfReader, i);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment