com.docmosis.document
Class DocumentRenderResult
java.lang.Object
com.docmosis.document.DocumentRenderResult
- public class DocumentRenderResult
- extends Object
The results of a document render
Method Summary |
int |
getDocumentPageCount()
Get the page count of the document(s) rendered. |
long |
getLength()
Get the length of the resulting document (in bytes) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentRenderResult
public DocumentRenderResult(long length,
int documentpageCount)
getLength
public long getLength()
- Get the length of the resulting document (in bytes)
- Returns:
- the number of bytes
getDocumentPageCount
public int getDocumentPageCount()
- Get the page count of the document(s) rendered. If the result is
a zip file of multiple documents, then all documents are assumed to be
different formats of the same file, so the number represents the number
of pages of each document.
- Returns:
- the page count of the document
Copyright © 2014 Docmosis Pty Ltd. All Rights Reserved.