public final class TeeOutputStream
extends java.io.PrintStream
| Constructor and Description |
|---|
TeeOutputStream(java.io.FileOutputStream fileOutputStream,
java.io.PrintStream stdStream) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkError() |
void |
close() |
void |
flush() |
void |
write(byte[] buf,
int off,
int len) |
void |
write(int b) |
public TeeOutputStream(java.io.FileOutputStream fileOutputStream,
java.io.PrintStream stdStream)
public boolean checkError()
checkError in class java.io.PrintStreampublic void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.PrintStreampublic void flush()
flush in interface java.io.Flushableflush in class java.io.PrintStreampublic void write(byte[] buf,
int off,
int len)
write in class java.io.PrintStreampublic void write(int b)
write in class java.io.PrintStream