|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.robotframework.javalib.util.StdStreamRedirecter
public class StdStreamRedirecter
Handles the STDOUT and STDERR redirection. Used for remote logging.
| Constructor Summary | |
|---|---|
StdStreamRedirecter()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getStdErrAsString()
Retrieves everything printed to STDERR as string. |
java.lang.String |
getStdOutAsString()
Retrieves everything printed to STDOUT as string. |
void |
redirectStdStreams()
Initializes the redirection of STDOUT and STDERR so they can be accessed with getStdOutAsString and getStdErrAsString. |
void |
resetStdStreams()
Resets STDOUT and STDERR as they were before calling redirectStdStreams. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StdStreamRedirecter()
| Method Detail |
|---|
public java.lang.String getStdErrAsString()
redirectStdStreams() must be called before calling this method.
After each call to this method, the internal buffer containing STDERR as
string is emptied.
public java.lang.String getStdOutAsString()
redirectStdStreams() must be called before calling this method.
After each call to this method, the internal buffer containing STDOUT as
string is emptied.
public void redirectStdStreams()
getStdOutAsString and getStdErrAsString.
public void resetStdStreams()
redirectStdStreams.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||