public class ReportDataSaver extends Object implements WithTitle, AndContent, FromFile
| Constructor and Description |
|---|
ReportDataSaver(StepEventBus eventBus) |
| Modifier and Type | Method and Description |
|---|---|
void |
andContents(String contents) |
WithTitle |
asEvidence() |
FromFile |
downloadable() |
void |
fromFile(Path source) |
void |
fromFile(Path source,
Charset encoding) |
AndContent |
withTitle(String title) |
public ReportDataSaver(StepEventBus eventBus)
public AndContent withTitle(String title)
public void andContents(String contents)
andContents in interface AndContentpublic void fromFile(Path source) throws IOException
fromFile in interface FromFileIOExceptionpublic void fromFile(Path source, Charset encoding) throws IOException
fromFile in interface FromFileIOExceptionpublic FromFile downloadable()
downloadable in interface FromFilepublic WithTitle asEvidence()
asEvidence in interface WithTitleCopyright © 2023. All rights reserved.