public abstract class AbstractSystemTestWriter extends Object implements Closeable
SystemTestDef
to an output stream.Constructor and Description |
---|
AbstractSystemTestWriter()
Creates a new AbstractSystemTestWriter object that writes to standard output.
|
AbstractSystemTestWriter(OutputStream stream)
Creates a new AbstractSystemTestWriter object that writes to the given stream.
|
AbstractSystemTestWriter(Writer writer)
Creates a new AbstractSystemTestWriter object that writes to the given stream.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the writer.
|
void |
flush()
Flushes the writer.
|
protected Writer |
getWriter()
Returns the output stream for this writer.
|
protected void |
setWriter(Writer writer)
Changes the output stream for this writer.
|
abstract void |
write(SystemTestDef systemTest)
Writes the given system test definition.
|
public AbstractSystemTestWriter()
public AbstractSystemTestWriter(OutputStream stream)
public AbstractSystemTestWriter(Writer writer)
public abstract void write(SystemTestDef systemTest)
public void flush() throws IOException
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
protected void setWriter(Writer writer)
protected Writer getWriter()
Copyright © 2024 The Cornutum Project. All rights reserved.