public abstract class AbstractRenderer extends AbstractComponent implements Renderer
supportedDocumentClasses| Constructor and Description |
|---|
AbstractRenderer() |
| Modifier and Type | Method and Description |
|---|---|
List<Image> |
render(Document document)
Renders a given document an outputs result as a list of Image objects (on
image per page).
|
List<Image> |
render(Document document,
int begin,
int end)
Renders pages of a given document an outputs result as a list of Image
objects (on image per page).
|
protected abstract List<Image> |
run(Document document,
int begin,
int end) |
assertDeviceSupported, assertDocumentSupported, copySettings, extractSettings, isDeviceSupportedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopySettings, extractSettingspublic List<Image> render(Document document) throws IOException, RendererException, DocumentException
Rendererrender in interface Rendererdocument - Document to render. Document type may or may no be supported
(support left to the render final implementation).IOExceptionRendererExceptionDocumentExceptionpublic List<Image> render(Document document, int begin, int end) throws IOException, RendererException, DocumentException
Rendererrender in interface Rendererdocument - Document to render. Document type may or may no be supported
(support left to the render final implementation).begin - Index of the first page to renderend - Index of the last page to renderIOExceptionRendererExceptionDocumentExceptionprotected abstract List<Image> run(Document document, int begin, int end) throws IOException, RendererException, DocumentException
Copyright © 2016. All Rights Reserved.