Package org.apache.pdfbox.tools
Class PDFSplit
java.lang.Object
org.apache.pdfbox.tools.PDFSplit
This is the main program that will take a pdf document and split it into
a number of other documents.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Infamous main method.private void
private static void
usage()
This will print the usage requirements and exit.private static void
writeDocument
(PDDocument doc, String fileName)
-
Field Details
-
PASSWORD
- See Also:
-
SPLIT
- See Also:
-
START_PAGE
- See Also:
-
END_PAGE
- See Also:
-
OUTPUT_PREFIX
- See Also:
-
-
Constructor Details
-
PDFSplit
private PDFSplit()
-
-
Method Details
-
main
Infamous main method.- Parameters:
args
- Command line arguments, should be one and a reference to a file.- Throws:
IOException
- If there is an error parsing the document.
-
split
- Throws:
IOException
-
writeDocument
- Throws:
IOException
-
usage
private static void usage()This will print the usage requirements and exit.
-