public final class NgcRenderService extends Object
ExecutorService
and a RenderEngine to perform the rendering. The configuration for the executor service
and the engine is read from:| Modifier and Type | Method and Description |
|---|---|
static NgcRenderService |
getInstance() |
List<com.saperion.connector.renditions.Rendition> |
renderStream(com.saperion.common.io.InputStreamDescriptor stream,
com.saperion.connector.formats.TargetFormat targetFormat)
Renders the provided stream.
|
public static NgcRenderService getInstance()
public List<com.saperion.connector.renditions.Rendition> renderStream(com.saperion.common.io.InputStreamDescriptor stream, com.saperion.connector.formats.TargetFormat targetFormat) throws TimeoutException, com.saperion.connector.renditions.exceptions.RenderingException
stream - stream to rendertargetFormat - format to render toTimeoutException - when rendering took longer than the timeoutcom.saperion.connector.renditions.exceptions.RenderingException - when rendering failed because of an errorCopyright © 2016 Lexmark Enterprise Software Deutschland GmbH. All rights reserved.