class PDDocumentHandler implements Closeable {

    public PDPage addBlankPageIfOdd(PDRectangle mediaBox) {
        if (document.getNumberOfPages() % 2 != 0) {
            return addBlankPage(mediaBox);
        }
        return null;
    }

    public  PDDocumentHandler(PDDocument document);
    public  PDDocumentHandler();

}