Commit be300bee authored by Ali Shakoori's avatar Ali Shakoori

first commit of lab4

parents
import com.itextpdf.text.pdf.PdfReader;
public class Main {
public static void main(String[] args) {
try {
PdfReader pdfReader = new PdfReader("test.pdf");
System.out.println(pdfReader.getNumberOfPages());
}catch (Exception e){
System.out.println(e);
}
}
}
File added
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