Class BaseRendition
java.lang.Object
com.saperion.connector.renditions.BaseRendition
- All Implemented Interfaces:
Rendition,AutoCloseable
- Direct Known Subclasses:
FileSystemRendition
BaseRendition abstract class specifies the TargetFormat of the rendered
file.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theTargetFormatof the rendered file.voidsetTarget(TargetFormat target) Sets the target format.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.AutoCloseable
closeMethods inherited from interface com.saperion.connector.renditions.Rendition
getPage, getStream, isComplete
-
Constructor Details
-
BaseRendition
public BaseRendition()
-
-
Method Details
-
getTarget
Returns theTargetFormatof the rendered file. It depends on the render engine, if it renders to the passed format or not. Means, it can be, that you specify to render to PDF, but it returns a multipage tiff.- Specified by:
getTargetin interfaceRendition- Returns:
TargetFormatof the rendered file.- See Also:
-
setTarget
Sets the target format.- Parameters:
target- the new target
-