#BAEL-5880: rename method to getNumberOfPages

This commit is contained in:
h_sharifi 2022-11-09 11:54:28 +03:30
parent ef3f32c405
commit f17c551fc4
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ import java.io.IOException;
public class PdfInfoPdfBox {
public static int getNumberOfPage(final String pdfFile) throws IOException {
public static int getNumberOfPages(final String pdfFile) throws IOException {
File file = new File(pdfFile);
PDDocument document = Loader.loadPDF(file);
int pages = document.getNumberOfPages();