Class BaseRendition
- java.lang.Object
-
- com.saperion.connector.renditions.BaseRendition
-
- All Implemented Interfaces:
Rendition
,java.lang.AutoCloseable
- Direct Known Subclasses:
FileSystemRendition
public abstract class BaseRendition extends java.lang.Object implements Rendition
BaseRendition
abstract class specifies theTargetFormat
of the rendered file.
-
-
Constructor Summary
Constructors Constructor Description BaseRendition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TargetFormat
getTarget()
Returns theTargetFormat
of the rendered file.void
setTarget(TargetFormat target)
Sets the target format.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.saperion.connector.renditions.Rendition
getPage, getStream, isComplete
-
-
-
-
Method Detail
-
getTarget
public TargetFormat getTarget()
Returns theTargetFormat
of 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:
getTarget
in interfaceRendition
- Returns:
TargetFormat
of the rendered file.- See Also:
Rendition.getTarget()
-
setTarget
public void setTarget(TargetFormat target)
Sets the target format.- Parameters:
target
- the new target
-
-