name.angoca.db2sa.cli
Interface OutputWriter

Package class diagram package OutputWriter
All Known Implementing Classes:
SystemOutputWriter

public interface OutputWriter

Interface that defines the structure of a writer or also called screen printer.
Control Version

Version:
1.0.0 2009-07-19
Author:
Andres Gomez Casanova (AngocA)

Method Summary
 void writeLine(String string)
          Writes a set of strings with a carriage return at the end of it.
 void writeString(String string)
          Writes a set of strings without a carriage return.
 

Method Detail

writeString

void writeString(String string)
                 throws OutputWriterException
Writes a set of strings without a carriage return.

Parameters:
string - String to write in the screen.
Throws:
OutputWriterException - If there is a problem when writing.

writeLine

void writeLine(String string)
               throws OutputWriterException
Writes a set of strings with a carriage return at the end of it.

Parameters:
string - String to write.
Throws:
OutputWriterException - If there is a problem when writing.


Andres Gomez Casanova (AngocA) Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.