Class RemoveFirstPage


  • public final class RemoveFirstPage
    extends java.lang.Object
    This is an example on how to remove pages from a PDF document. Do not use this tool if other pages link to this one or if your document has a structure tree for accessibility unless you are able to fix these as well. In such cases it is better to use the splitter() class which will do these fixes.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private RemoveFirstPage()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      This will print the documents data.
      private static void usage()
      This will print the usage for this document.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RemoveFirstPage

        private RemoveFirstPage()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws java.io.IOException
        This will print the documents data.
        Parameters:
        args - The command line arguments.
        Throws:
        java.io.IOException - If there is an error parsing the document.
      • usage

        private static void usage()
        This will print the usage for this document.