|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.groboutils.autodoc.v1.testserver.AbstractWriterServer
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.
Constructor Summary | |
AbstractWriterServer()
|
Method Summary | |
void |
addTestData(TestData td)
Receives td from a Monitor and handles it in an implementation specific manner. |
protected void |
closeOutput(java.io.Writer w)
Close the given Writer, which was opened in the openOutput() method. |
protected abstract java.io.Writer |
openOutput(TestData td)
Open a writer stream. |
protected abstract void |
writeTestData(TestData td,
java.io.Writer w)
Write the BugTestResult with all the result's encountered BugTestLog events. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractWriterServer()
Method Detail |
public void addTestData(TestData td)
addTestData
in interface Server
td
- the data to deal with.protected abstract void writeTestData(TestData td, java.io.Writer w) throws java.io.IOException
java.io.IOException
protected abstract java.io.Writer openOutput(TestData td) throws java.io.IOException
java.io.IOException
protected void closeOutput(java.io.Writer w) throws java.io.IOException
w.close()
.
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |