de.smartics.testdoc.core.export
Interface UnitTestDocExporter

Package class diagram package UnitTestDocExporter
All Known Implementing Classes:
XmlExporter

public interface UnitTestDocExporter

Exports the test documentation to a stream.

Author:
Robert Reiner

Method Summary
 void export(UnitTestDoc testDoc, OutputStream output)
          Exports the given test documentation to the stream.
 String getFileExtension()
          Returns the extension for the files being exported by this instance.
 

Method Detail

export

void export(UnitTestDoc testDoc,
            OutputStream output)
            throws IOException,
                   NullPointerException
Exports the given test documentation to the stream.

Parameters:
testDoc - the documentation to export.
output - the stream to write to.
Throws:
IOException - on any problem writing to the stream.
NullPointerException - if any of the arguments is null.

getFileExtension

String getFileExtension()
Returns the extension for the files being exported by this instance.

Returns:
the extension excluding the dot. Such as xml or properties.


Copyright © 2010-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.