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, isDeviceSupported
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copySettings, extractSettings
public List<Image> render(Document document) throws IOException, RendererException, DocumentException
Renderer
render
in interface Renderer
document
- Document to render. Document type may or may no be supported
(support left to the render final implementation).IOException
RendererException
DocumentException
public List<Image> render(Document document, int begin, int end) throws IOException, RendererException, DocumentException
Renderer
render
in interface Renderer
document
- 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 renderIOException
RendererException
DocumentException
protected abstract List<Image> run(Document document, int begin, int end) throws IOException, RendererException, DocumentException
Copyright © 2016. All Rights Reserved.