public class DataOutputStreamAndChannel extends DataOutputStreamPlus
out
Constructor and Description |
---|
DataOutputStreamAndChannel(java.io.FileOutputStream fos) |
DataOutputStreamAndChannel(java.io.OutputStream os,
java.nio.channels.WritableByteChannel channel) |
DataOutputStreamAndChannel(java.nio.channels.WritableByteChannel channel) |
Modifier and Type | Method and Description |
---|---|
java.nio.channels.WritableByteChannel |
getChannel() |
void |
write(java.nio.ByteBuffer buffer) |
close, flush, write, write
write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
write
public DataOutputStreamAndChannel(java.io.OutputStream os, java.nio.channels.WritableByteChannel channel)
public DataOutputStreamAndChannel(java.nio.channels.WritableByteChannel channel)
public DataOutputStreamAndChannel(java.io.FileOutputStream fos)
public void write(java.nio.ByteBuffer buffer) throws java.io.IOException
write
in interface DataOutputPlus
write
in class AbstractDataOutput
java.io.IOException
public java.nio.channels.WritableByteChannel getChannel()
Copyright © 2014 The Apache Software Foundation