Class ISYSRenderEngine
java.lang.Object
com.saperion.connector.render.engine.BaseRenderEngine
com.saperion.connector.renditions.isys.ISYSRenderEngine
- All Implemented Interfaces:
- RenderEngine
The ISYSRenderEngine uses the ISYS executable for rendering.
 
The following additional options are required:
The following additional options are required:
- externalApplicationPath: Absolute path to the ISYS executable used for rendering.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringProperty used to define the absolute path of the external rendering-application.Fields inherited from class com.saperion.connector.render.engine.BaseRenderEngineDEFAULT_EXTENSION
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringgetPathToExecutable(Options options) Gets the supported source formats.Gets the supported target formats.safeRender(InputStreamDescriptor content, SourceFormat format, Options options) Creates the collection ofRenditionMethods inherited from class com.saperion.connector.render.engine.BaseRenderEngineconfigure, createInputStreamDescriptor, createInputStreamDescriptor, getFileFromUrl, getProperties, parseExtension, render, supportsSourceFormat, supportsTargetFormat
- 
Field Details- 
EXTERNAL_APPLICATION_PATHProperty used to define the absolute path of the external rendering-application.- See Also:
 
 
- 
- 
Constructor Details- 
ISYSRenderEnginepublic ISYSRenderEngine()
 
- 
- 
Method Details- 
getSupportedSourceFormatsDescription copied from interface:RenderEngineGets the supported source formats.- Returns:
- returns all SourceFormatsupported by the render engine
 
- 
getSupportedTargetFormatsDescription copied from interface:RenderEngineGets the supported target formats.- Returns:
- returns all TargetFormatsupported by the render engine
 
- 
safeRenderpublic List<Rendition> safeRender(InputStreamDescriptor content, SourceFormat format, Options options) throws TimeoutException, RenderingException Description copied from class:BaseRenderEngineCreates the collection ofRendition
 
 Method to be implemented by the specific render engine.- Specified by:
- safeRenderin class- BaseRenderEngine
- Parameters:
- content- Content as- InputStreamDescriptorwhich should be rendered incl. filename
- format-- SourceFormatdetermined by the file extension
- options-- Optionswhich are describing how to render the content
- Returns:
- the collection of Rendition
- Throws:
- TimeoutException- if a timeout was specified and it was reached
- FormatNotSupportedException- if the input or output format is not supported
- PreconditionFailedException- if parts of the options are missing
- RenderingException- if engine is not available or internal initialization failures
 
- 
getPathToExecutable- Throws:
- PreconditionFailedException
 
 
-