public final class BlockingDataOutputStream
extends java.io.OutputStream
implements java.io.Closeable, java.lang.AutoCloseable, java.io.Flushable
Constructor and Description |
---|
BlockingDataOutputStream() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Puts the queue in closed state.
|
void |
copyTo(java.io.OutputStream outs)
Copies content from the this queue into the output stream.
|
void |
flush()
Wake up any waiting reader thread.
|
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void copyTo(java.io.OutputStream outs) throws java.io.IOException
outs
- The output stream to write to. This stream is not closed by this methodjava.io.IOException
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.