Interface Rendition
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
BaseRendition,FileSystemRendition
A
Rendition interface, generated by the render engine that represents incoming
content stream and outgoing format of the rendered file.-
Method Summary
Modifier and TypeMethodDescriptionintgetPage()Returns the number of the page represented by this rendition.Returns the content asInputStreamDescriptorgenerated by the render engine.Returns theTargetFormatof the rendered file.booleanMethods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
getStream
Returns the content asInputStreamDescriptorgenerated by the render engine.- Returns:
InputStreamDescriptorgenerated by the render engine.- Throws:
Exception
-
getTarget
TargetFormat 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.- Returns:
TargetFormatof the rendered file.
-
getPage
int getPage()Returns the number of the page represented by this rendition.- Returns:
- page number or -1 if the renditions contains multiple (or all) pages
-
isComplete
boolean isComplete()- Returns:
- true if this rendition represents a complete document.
-