agg.util
Class RedirectSystemOut
java.lang.Object
agg.util.RedirectSystemOut
public class RedirectSystemOut
- extends java.lang.Object
Field Summary |
protected java.io.PrintStream |
err
|
protected java.io.FileOutputStream |
fos
|
protected boolean |
isOutput
|
protected java.io.PrintStream |
out
|
protected java.io.File |
outFile
|
protected java.io.PrintStream |
redirectOut
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
protected java.io.PrintStream out
err
protected java.io.PrintStream err
fos
protected java.io.FileOutputStream fos
outFile
protected java.io.File outFile
redirectOut
protected java.io.PrintStream redirectOut
isOutput
protected boolean isOutput
RedirectSystemOut
public RedirectSystemOut()
redirectToFile
public void redirectToFile(java.lang.String outFileName)
restoreOutputStream
public void restoreOutputStream()