public class StderrRedirector extends OutputStream
| Modifier and Type | Class and Description |
|---|---|
static class |
StderrRedirector.PrintStreamRedirector |
| Constructor and Description |
|---|
StderrRedirector(Thread redirectorThread,
PrintStream originalStderr,
StringBuilder sb) |
| Modifier and Type | Method and Description |
|---|---|
static StringBuilder |
finish(StderrRedirector instance) |
static StderrRedirector |
redirect(Thread redirectorThread) |
void |
write(int b) |
close, flush, write, writepublic StderrRedirector(Thread redirectorThread, PrintStream originalStderr, StringBuilder sb)
public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic static StderrRedirector redirect(Thread redirectorThread)
public static StringBuilder finish(StderrRedirector instance)
Revision 4.0.15 / 20220727-0149