public abstract class AbstractSystemInputWriter extends Object implements Closeable
SystemInputDef
to an output stream.Constructor and Description |
---|
AbstractSystemInputWriter()
Creates a new AbstractSystemInputWriter object that writes to standard output.
|
AbstractSystemInputWriter(OutputStream stream)
Creates a new AbstractSystemInputWriter object that writes to the given stream.
|
AbstractSystemInputWriter(Writer writer)
Creates a new AbstractSystemInputWriter 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(SystemInputDef systemInput)
Writes the given system test definition.
|
public AbstractSystemInputWriter()
public AbstractSystemInputWriter(OutputStream stream)
public AbstractSystemInputWriter(Writer writer)
public abstract void write(SystemInputDef systemInput)
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.