|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectname.angoca.db2sa.cli.system.SystemOutputWriter
public final class SystemOutputWriter
Implementation of the screen printer using the System.out function. There are
two ways to write in this printer, the first one that writes without a
carriage return at the end (new line) and the other that appends it.
Control Version
Constructor Summary | |
---|---|
SystemOutputWriter()
Default constructor. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemOutputWriter()
Method Detail |
---|
public void writeString(String string) throws OutputWriterException
OutputWriter
writeString
in interface OutputWriter
string
- String to write in the screen.
OutputWriterException
- If there is a problem when writing.public void writeLine(String string) throws OutputWriterException
OutputWriter
writeLine
in interface OutputWriter
string
- String to write.
OutputWriterException
- If there is a problem when writing.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |