@ConsumerType
public interface Renderer
Gfx
API.Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
render(Plan plan,
ResourceResolver resolver)
Renders the given plan and returns a binary file stream, typically an
image file format, depending on the plan.
|
java.io.InputStream render(Plan plan, ResourceResolver resolver) throws java.lang.Exception
Validation and errors:
plan
- describes the rendering operationsresolver
- a resource resolver to access files referenced in the plannull
.java.lang.Exception
- if the rendering unexpectedly failsCopyright © 2010 - 2020 Adobe. All Rights Reserved