@ProviderType
public interface ReportSerializerPlugin
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getHandledExtensions()
Get the set of file extension names corresponding to the format that this
plugin can serialize to.
|
void |
serialize(java.util.Map<java.lang.String,java.lang.Object> reportDTO,
java.io.OutputStream output)
Serialize the DTO report into the output stream.
|
java.lang.String[] getHandledExtensions()
nullvoid serialize(java.util.Map<java.lang.String,java.lang.Object> reportDTO,
java.io.OutputStream output)
throws java.lang.Exception
reportDTO - the DTO report to serialize, must not be nulloutput - the output stream to write the serialization result, must
not be nulljava.lang.Exception - if any errors occur during the serialization process