Package adams.core.io

Class iTextPDF


  • public class iTextPDF
    extends Object
    Helper class for iTextPDF.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • iTextPDF

        public iTextPDF()
    • Method Detail

      • extractPages

        public static String extractPages​(LoggingSupporter logging,
                                          File input,
                                          UnorderedRange range,
                                          File output)
        Extracts a subset of pages from one PDF file and stores that in another PDF file.
        Parameters:
        logging - for logging, can be null
        input - the input PDF
        range - the range of pages to extract
        output - the output PDF
        Returns:
        null if successful, otherwise error message