Package com.biglybt.ui.console
Class ConsoleInput.RedirectOutputStream
java.lang.Object
java.io.OutputStream
com.biglybt.ui.console.ConsoleInput.RedirectOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
- Enclosing class:
- ConsoleInput
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final OutputStream
private final PrintStream
(package private) boolean
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
RedirectOutputStream
(OutputStream _dest1, PrintStream _dest2) -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write, write
-
Field Details
-
dest1
-
dest2
-
ts
boolean ts
-
-
Constructor Details
-
RedirectOutputStream
-
-
Method Details
-
requestTimeStamp
private void requestTimeStamp() -
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
- Throws:
IOException
-