public class SmartPdfSplitter extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
currentPage |
protected int |
numberOfPages |
protected boolean |
overSized |
protected PdfReader |
reader |
Constructor and Description |
---|
SmartPdfSplitter(PdfReader reader) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasMorePages() |
boolean |
isOverSized() |
boolean |
split(OutputStream os, long sizeInBytes) |
protected PdfReader reader
protected int numberOfPages
protected int currentPage
protected boolean overSized
public SmartPdfSplitter(PdfReader reader) throws IOException
IOException
public boolean hasMorePages()
public boolean isOverSized()
public boolean split(OutputStream os, long sizeInBytes) throws IOException, DocumentException
IOException
DocumentException
Copyright © 1998–2018. All rights reserved.