| java.lang.Object net.sourceforge.groboutils.autodoc.v1.testserver.AbstractWriterServer
All known Subclasses: net.sourceforge.groboutils.pmti.v1.autodoc.v1.server.AbstractAppendFileServer, net.sourceforge.groboutils.pmti.v1.autodoc.v1.server.AbstractNewFileServer,
AbstractWriterServer | abstract public class AbstractWriterServer implements Server(Code) | | An interface which corresponds to a part of the framework that knows how
to deal with the framework's TestData. It may directly deal with
the data, or pass it off to a remote server.
author: Matt Albrecht groboclown@users.sourceforge.net version: $Date: 2003/02/10 22:52:13 $ since: March 30, 2002 |
Method Summary | |
public void | addTestData(TestData td) Receives td from a Monitor and handles it in an implementation
specific manner. | protected void | closeOutput(Writer w) Close the given Writer, which was opened in the openOutput()
method. | abstract protected Writer | openOutput(TestData td) Open a writer stream. | abstract protected void | writeTestData(TestData td, Writer w) Write the BugTestResult with all the result's encountered BugTestLog
events. |
addTestData | public void addTestData(TestData td)(Code) | | Receives td from a Monitor and handles it in an implementation
specific manner.
Parameters: td - the data to deal with. |
closeOutput | protected void closeOutput(Writer w) throws IOException(Code) | | Close the given Writer, which was opened in the openOutput()
method. Since nearly all implementations will be the same, the
default implementation simply executes w.close() .
|
openOutput | abstract protected Writer openOutput(TestData td) throws IOException(Code) | | Open a writer stream. This will be done once per result, so log-like
actions may need to append to the previous results.
|
writeTestData | abstract protected void writeTestData(TestData td, Writer w) throws IOException(Code) | | Write the BugTestResult with all the result's encountered BugTestLog
events.
|
|
|