Package org.ghost4j.renderer
Interface RemoteRenderer
- All Known Implementing Classes:
AbstractRemoteRenderer,SimpleRenderer
Interface defining a remote renderer (for Ghostscript multi process support).
-
Method Summary
Modifier and TypeMethodDescriptionremoteRender(Document document, int begin, int end) Renders pages of a given document an outputs result as a list of PageRaster objects (on image per page).voidsetMaxProcessCount(int maxProcessCount) Sets max parallel rendering processes allowed for the rendererMethods inherited from interface org.ghost4j.Component
copySettings, extractSettings
-
Method Details
-
setMaxProcessCount
void setMaxProcessCount(int maxProcessCount) Sets max parallel rendering processes allowed for the renderer- Parameters:
maxProcessCount-
-
remoteRender
List<PageRaster> remoteRender(Document document, int begin, int end) throws IOException, RendererException, DocumentException Renders pages of a given document an outputs result as a list of PageRaster objects (on image per page).- Parameters:
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 render- Returns:
- a List of PageRaster objects
- Throws:
IOExceptionAnalyzerExceptionRendererExceptionDocumentException
-