net.sf.jnati.proc
Class TeeOutputStream
java.lang.Object
java.io.OutputStream
net.sf.jnati.proc.TeeOutputStream
- All Implemented Interfaces:
- Closeable, Flushable
public class TeeOutputStream
- extends OutputStream
- Author:
- Sam Adams
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TeeOutputStream
public TeeOutputStream(OutputStream... streams)
close
public void close()
throws TeeStreamException
- Specified by:
close in interface Closeable- Overrides:
close in class OutputStream
- Throws:
TeeStreamException
flush
public void flush()
throws TeeStreamException
- Specified by:
flush in interface Flushable- Overrides:
flush in class OutputStream
- Throws:
TeeStreamException
write
public void write(byte[] b,
int off,
int len)
throws TeeStreamException
- Overrides:
write in class OutputStream
- Throws:
TeeStreamException
write
public void write(byte[] b)
throws TeeStreamException
- Overrides:
write in class OutputStream
- Throws:
TeeStreamException
write
public void write(int b)
throws TeeStreamException
- Specified by:
write in class OutputStream
- Throws:
TeeStreamException
Copyright © 2007-2011 Sam Adams. All Rights Reserved.