content
protected byte[] content
Content of the document.
Serializable
, Document
PDFDocument
, PSDocument
protected byte[]
static final int
private static final long
TYPE_PDF, TYPE_POSTSCRIPT
void
protected void
assertValidPageIndex(int index)
protected void
assertValidPageRange(int begin,
int end)
explode()
byte[]
int
getSize()
void
void
load(InputStream inputStream)
void
void
write(OutputStream outputStream)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
extract, getPageCount, getType
Document
load
in interface Document
file
- File.FileNotFoundException
IOException
Document
load
in interface Document
inputStream
- IOException
Document
write
in interface Document
file
- File.IOException
Document
write
in interface Document
outputStream
- IOException
Document
Document
getContent
in interface Document
index
- Index to checkDocumentException
- Thrown if index is not validbegin
- Range begin indexend
- Range end indexDocumentException
Document
append
in interface Document
document
- Document ot appendDocumentException
Document
explode
in interface Document
DocumentException