| Constructor and Description | 
|---|
NioUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
write(ByteBuffer byteBuffer,
     OutputStream outputStream)
Write the contents of the given  
ByteBuffer into a
 OutputStream. | 
public NioUtils()
public static void write(ByteBuffer byteBuffer, OutputStream outputStream) throws IOException
ByteBuffer into a
 OutputStream.byteBuffer - the buffer to read from.outputStream - the output stream to write to.IOException - if an error occurs.