Class BifurcatingOutputStream
- java.lang.Object
- 
- java.io.OutputStream
- 
- com.inductiveautomation.ignition.common.util.BifurcatingOutputStream
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.io.Flushable,- java.lang.AutoCloseable
 
 public class BifurcatingOutputStream extends java.io.OutputStreamAn output stream that mirrors all output on 1 or more child output streams.
- 
- 
Constructor SummaryConstructors Constructor Description BifurcatingOutputStream(java.io.OutputStream o1)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSubStream(java.io.OutputStream os)voidclose()voidflush()voidremoveSubStream(java.io.OutputStream os)voidwrite(byte[] b)voidwrite(byte[] b, int off, int len)voidwrite(int b)
 
- 
- 
- 
Method Detail- 
addSubStreampublic void addSubStream(java.io.OutputStream os) 
 - 
removeSubStreampublic void removeSubStream(java.io.OutputStream os) 
 - 
closepublic void close() throws java.io.IOException- Specified by:
- closein interface- java.lang.AutoCloseable
- Specified by:
- closein interface- java.io.Closeable
- Overrides:
- closein class- java.io.OutputStream
- Throws:
- java.io.IOException
 
 - 
flushpublic void flush() throws java.io.IOException- Specified by:
- flushin interface- java.io.Flushable
- Overrides:
- flushin class- java.io.OutputStream
- Throws:
- java.io.IOException
 
 - 
writepublic void write(byte[] b, int off, int len) throws java.io.IOException- Overrides:
- writein class- java.io.OutputStream
- Throws:
- java.io.IOException
 
 - 
writepublic void write(byte[] b) throws java.io.IOException- Overrides:
- writein class- java.io.OutputStream
- Throws:
- java.io.IOException
 
 - 
writepublic void write(int b) throws java.io.IOException- Specified by:
- writein class- java.io.OutputStream
- Throws:
- java.io.IOException
 
 
- 
 
-