public class TeeOutputStream
extends java.io.FilterOutputStream
| Constructor and Description |
|---|
TeeOutputStream(java.io.OutputStream stream,
java.io.File logFile)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeLog() |
void |
enableOutput(boolean enable)
Let output through to the screen
|
protected void |
finalize() |
void |
flush() |
void |
openLog() |
void |
version() |
void |
write(int b) |
public TeeOutputStream(java.io.OutputStream stream,
java.io.File logFile)
public void enableOutput(boolean enable)
public void openLog()
public void closeLog()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void write(int b)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOExceptionprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic void version()