}
}
}
splitter.setSplitAtPage( Integer.parseInt( split ) );
documents = splitter.split( document );
for( int i=0; i<documents.size(); i++ )
{
PDDocument doc = (PDDocument)documents.get( i );
String fileName = pdfFile.substring(0, pdfFile.length()-4 ) + "-" + i + ".pdf";
writeDocument( doc, fileName );