|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface NioByteOutput.BufferWriter

A buffer writer for an NioByteOutput.
| Method Summary | |
|---|---|
void |
accept(java.nio.ByteBuffer buffer,
boolean eof)
Accept a buffer. |
void |
flush()
Flushes this stream by writing any buffered output to the underlying stream. |
java.nio.ByteBuffer |
getBuffer()
Get a new buffer to be filled. |
| Method Detail |
|---|
java.nio.ByteBuffer getBuffer()
void accept(java.nio.ByteBuffer buffer,
boolean eof)
throws java.io.IOException
eof flag will be set to true.
This method should block until the entire buffer is consumed, or an error occurs.
buffer - the buffer to sendeof - true if this is the last buffer which will be sent
java.io.IOException - if an I/O error occurs
void flush()
throws java.io.IOException
flush in interface java.io.Flushablejava.io.IOException - If an I/O error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||