public class MessagesToHtmlWriter extends Object implements AutoCloseable
| Constructor and Description |
|---|
MessagesToHtmlWriter(Writer writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the stream, flushing it first.
|
void |
write(io.cucumber.messages.Messages.Envelope envelope)
Writes a cucumber message to the html output.
|
public MessagesToHtmlWriter(Writer writer) throws IOException
IOExceptionpublic void write(io.cucumber.messages.Messages.Envelope envelope)
throws IOException
envelope - the messageIOException - if an IO error occurspublic void close()
throws IOException
close in interface AutoCloseableIOException - if an IO error occursCopyright © 2020. All rights reserved.