|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.analysis.javadoc.Console
public final class Console
Encapsulates the information returned to the console.
It is assumed that the console is closed before it is serialized. If not the instance will close itself.
Constructor Summary | |
---|---|
Console() Default constructor. |
Method Summary | |
---|---|
void |
close() Closes the streams and stores their content as message strings. |
String |
createConsoleMessage(String toolId) Creates a message to be printed to a console or log file. |
String |
getErrMessages() Returns the messages written to the error stream. |
String |
getOutMessages() Returns the messages written to the output stream. |
int |
getReturnCode() Returns the return code returned by the executed program. |
void |
setReturnCode(int returnCode) Sets the return code returned by the executed program. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Console()
Method Detail |
---|
public int getReturnCode()
public void setReturnCode(int returnCode)
returnCode
- the return code returned by the executed program.
public String getErrMessages()
public String getOutMessages()
public void close()
public String createConsoleMessage(String toolId)
toolId
- the tool that issues the message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |