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