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 Summary
FieldsModifier and TypeFieldDescriptionstatic final StringProperty used to define the absolute path of the external rendering-application.Fields inherited from class com.saperion.connector.render.engine.BaseRenderEngine
DEFAULT_EXTENSION -
Constructor Summary
Constructors -
Method Summary
Modifier 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 ofinstances which represent rendered content incl.RenditionMethods inherited from class com.saperion.connector.render.engine.BaseRenderEngine
configure, createInputStreamDescriptor, createInputStreamDescriptor, getFileFromUrl, getProperties, parseExtension, render, supportsSourceFormat, supportsTargetFormat
-
Field Details
-
EXTERNAL_APPLICATION_PATH
Property used to define the absolute path of the external rendering-application.- See Also:
-
-
Constructor Details
-
ISYSRenderEngine
public ISYSRenderEngine()
-
-
Method Details
-
getSupportedSourceFormats
Description copied from interface:RenderEngineGets the supported source formats.- Returns:
- returns all
SourceFormatsupported by the render engine
-
getSupportedTargetFormats
Description copied from interface:RenderEngineGets the supported target formats.- Returns:
- returns all
TargetFormatsupported by the render engine
-
safeRender
public List<Rendition> safeRender(InputStreamDescriptor content, SourceFormat format, Options options) throws TimeoutException, RenderingException Description copied from class:BaseRenderEngineCreates the collection ofinstances which represent rendered content incl. information.Rendition
Method to be implemented by the specific render engine.- Specified by:
safeRenderin classBaseRenderEngine- Parameters:
content- Content asInputStreamDescriptorwhich should be rendered incl. filenameformat-SourceFormatdetermined by the file extensionoptions-Optionswhich are describing how to render the content- Returns:
- the collection of
instances which represent rendered content incl. informationsRendition - Throws:
TimeoutException- if a timeout was specified and it was reachedFormatNotSupportedException- if the input or output format is not supportedPreconditionFailedException- if parts of the options are missingRenderingException- if engine is not available or internal initialization failures
-
getPathToExecutable
- Throws:
PreconditionFailedException
-