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 TypeMethodDescriptionvoidclose()Get this stream's originatingPipedStreamsinstance.voidwrite(byte[] b, int off, int len) voidwrite(int b) Methods inherited from class OutputStream
flush, nullOutputStream, write
-
Method Details
-
getPipedStreams
Description copied from interface:PipedStreams.HasPipedStreamsGet this stream's originatingPipedStreamsinstance.- Specified by:
getPipedStreamsin interfacePipedStreams.HasPipedStreams
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
write
- Overrides:
writein classOutputStream- Throws:
IOException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream
-