org.kaiwitte.workbench.printing
Interface RecordPrinter

All Known Implementing Classes:
RecordPrinterImpl

public interface RecordPrinter

An interface to print records.


Method Summary
 void printRecord(MetaRecord record, java.lang.String... templates)
          Prints the record.
 

Method Detail

printRecord

void printRecord(MetaRecord record,
                 java.lang.String... templates)
                 throws java.io.IOException
Prints the record. The resulting prints is based on the provided templates.

Parameters:
record - the record to provide values for variables in the templates
templates - the template texts (file names), one per print
Throws:
java.io.IOException - iff an I/O error occurs
See Also:
Tools.replaceVariables(org.kaiwitte.workbench.data.MetaRecord, java.lang.String)