public class DataChannelOutputStream extends OutputStream
| Constructor and Description |
|---|
DataChannelOutputStream(IDataChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
IDataChannel |
getChannel() |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
flushpublic DataChannelOutputStream(IDataChannel channel)
channel - public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionpublic IDataChannel getChannel()
Copyright © 2019 Tecgraf/PUC-Rio. All rights reserved.