public class ReportDataSaver extends java.lang.Object implements WithTitle, AndContent
| Constructor and Description |
|---|
ReportDataSaver(StepEventBus eventBus) |
| Modifier and Type | Method and Description |
|---|---|
void |
andContents(java.lang.String contents) |
void |
fromFile(java.nio.file.Path source) |
void |
fromFile(java.nio.file.Path source,
java.nio.charset.Charset encoding) |
AndContent |
withTitle(java.lang.String title) |
public ReportDataSaver(StepEventBus eventBus)
public AndContent withTitle(java.lang.String title)
public void andContents(java.lang.String contents)
andContents in interface AndContentpublic void fromFile(java.nio.file.Path source)
throws java.io.IOException
fromFile in interface AndContentjava.io.IOExceptionpublic void fromFile(java.nio.file.Path source,
java.nio.charset.Charset encoding)
throws java.io.IOException
fromFile in interface AndContentjava.io.IOException