Class RemoveFirstPage
- java.lang.Object
-
- org.apache.pdfbox.examples.pdmodel.RemoveFirstPage
-
public final class RemoveFirstPage extends java.lang.ObjectThis 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 privateRemoveFirstPage()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)This will print the documents data.private static voidusage()This will print the usage for this document.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOExceptionThis 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.
-
-