Package org.jline.builtins
Class ScreenTerminalOutputStream.DelegateOutputStream
java.lang.Object
java.io.OutputStream
org.jline.builtins.ScreenTerminalOutputStream.DelegateOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
- Enclosing class:
ScreenTerminalOutputStream
A placeholder OutputStream whose delegate can be set after construction.
Used when
super() requires an OutputStream but the real one
cannot be created until after the constructor returns.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStream, write
-
Constructor Details
-
DelegateOutputStream
public DelegateOutputStream()
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream- Throws:
IOException
-