Package org.dellroad.stuff.io
Class PipedStreams.Output
java.lang.Object
java.io.OutputStream
org.dellroad.stuff.io.PipedStreams.Output
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
,PipedStreams.HasPipedStreams
- Enclosing class:
- PipedStreams
The
OutputStream
associated with a PipedStreams
instance.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Get this stream's originatingPipedStreams
instance.void
write
(byte[] b, int off, int len) void
write
(int b) Methods inherited from class java.io.OutputStream
flush, nullOutputStream, write
-
Method Details
-
getPipedStreams
Description copied from interface:PipedStreams.HasPipedStreams
Get this stream's originatingPipedStreams
instance.- Specified by:
getPipedStreams
in interfacePipedStreams.HasPipedStreams
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
write
- Overrides:
write
in classOutputStream
- Throws:
IOException
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
-