public class StreamManager
extends java.lang.Object
Constructor and Description |
---|
StreamManager(java.io.OutputStream out,
java.io.OutputStream err,
java.lang.String lineSep) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
asString(java.lang.Object out) |
java.io.OutputStream |
getErr() |
java.lang.String |
getLineSep() |
java.io.OutputStream |
getOut() |
java.io.OutputStreamWriter |
getSerr() |
java.io.OutputStreamWriter |
getSout() |
void |
writeErr(java.lang.Exception e) |
void |
writeErr(java.lang.String s) |
void |
writeOut(java.lang.String s) |
void |
writeOut(java.lang.String text,
java.lang.String sep) |
public StreamManager(java.io.OutputStream out, java.io.OutputStream err, java.lang.String lineSep)
public void writeOut(java.lang.String s)
public void writeErr(java.lang.Exception e)
public java.lang.String asString(java.lang.Object out)
public java.io.OutputStream getOut()
public java.io.OutputStream getErr()
public java.io.OutputStreamWriter getSerr()
public java.io.OutputStreamWriter getSout()
public java.lang.String getLineSep()
public void writeErr(java.lang.String s)
public void writeOut(java.lang.String text, java.lang.String sep)