|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.tools.workbench.tbg.TbgWriter
This class implements a TBG Writer.
TbgWriter is used to write to the specified writer.
Constructor Summary | |
TbgWriter(java.io.Writer aWriter)
This constructor creates a TbgWriter object. |
Method Summary | |
void |
close()
Closes the writer. |
void |
setError(java.lang.String error)
Sets an error message in the writer. |
void |
setWarning(java.lang.String warning)
Sets a warning message in the writer. |
void |
write(java.lang.String text)
Writes the specified String to the specified output stream. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public TbgWriter(java.io.Writer aWriter)
Sets the writer.
aWriter
- java.io.WriterMethod Detail |
public void close() throws WBInputOutputException
public void setError(java.lang.String error) throws WBInputOutputException
error
- java.lang.String The text to display as an error.public void setWarning(java.lang.String warning) throws WBInputOutputException
warning
- java.lang.String The text to display as a warning.public void write(java.lang.String text) throws WBInputOutputException
text
- java.lang.String The String to write.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |