public class XThreadOutputStream extends OutputStream
Modifier and Type | Field and Description |
---|---|
protected XThreadInputStream |
inputStream |
Constructor and Description |
---|
XThreadOutputStream(XThreadInputStream inputStream) |
protected final XThreadInputStream inputStream
public XThreadOutputStream(XThreadInputStream inputStream)
public void write(byte[] buffer) throws IOException
write
in class OutputStream
IOException
public void write(int c) throws IOException
write
in class OutputStream
IOException
public void write(byte[] buffer, int pos, int amt) throws IOException
write
in class OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException