

The split method returns the PDFs as a list * 5. Use the split method to split the document * NOTE : This will create a PDF document out of each page and return them as a list * 4. Make provisions to catch or throw IOException.


Package import .Splitter import .PDDocument import .COSVisitorException import java.io.IOException import import /** * * Stephen H * Created 21 June 2014 * Revised 25 June 2014 * Email * * An example showing how to split a PDF file. Look for the package and then look for the Splitter class. The API docs for the most recent version is. If you need more details about the Splitter file have a look at the API docs. Here is some sample code to split a PDF file into multiple PDF files - each page become an individual file.
