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, writewrite, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwritepublic 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 DataOutputPluswrite in class AbstractDataOutputjava.io.IOExceptionpublic java.nio.channels.WritableByteChannel getChannel()
Copyright © 2015 The Apache Software Foundation