public class JsonFormatter extends AbstractFileReporter implements ReporterConfigurable, ReportObserver<ReportEntity>
PATH_SEP| Constructor and Description |
|---|
JsonFormatter(File file) |
JsonFormatter(String filePath) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.rxjava3.core.Observer<ReportEntity> |
getReportObserver() |
void |
loadJSONConfig(File jsonFile) |
void |
loadJSONConfig(String jsonString) |
void |
loadXMLConfig(File xmlFile) |
void |
loadXMLConfig(String xmlFile) |
createFreemarkerConfig, getFileNameAsExt, loadTemplateModel, processTemplatefilterAndGetpublic JsonFormatter(File file)
public JsonFormatter(String filePath)
public io.reactivex.rxjava3.core.Observer<ReportEntity> getReportObserver()
getReportObserver in interface ReportObserver<ReportEntity>public void loadJSONConfig(File jsonFile) throws IOException
loadJSONConfig in interface ReporterConfigurableIOExceptionpublic void loadJSONConfig(String jsonString) throws IOException
loadJSONConfig in interface ReporterConfigurableIOExceptionpublic void loadXMLConfig(File xmlFile) throws IOException
loadXMLConfig in interface ReporterConfigurableIOExceptionpublic void loadXMLConfig(String xmlFile) throws IOException
loadXMLConfig in interface ReporterConfigurableIOExceptionCopyright © 2020. All rights reserved.