org.apache.hadoop.io
Class DataOutputByteBuffer

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by java.io.DataOutputStream
              extended by org.apache.hadoop.io.DataOutputByteBuffer
All Implemented Interfaces:
Closeable, DataOutput, Flushable

public class DataOutputByteBuffer
extends DataOutputStream


Field Summary
 
Fields inherited from class java.io.DataOutputStream
written
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
DataOutputByteBuffer()
           
DataOutputByteBuffer(int size)
           
DataOutputByteBuffer(int size, boolean direct)
           
 
Method Summary
 ByteBuffer[] getData()
           
 int getLength()
           
 void reset()
           
 
Methods inherited from class java.io.DataOutputStream
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 
Methods inherited from class java.io.FilterOutputStream
close, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.io.DataOutput
write
 

Constructor Detail

DataOutputByteBuffer

public DataOutputByteBuffer()

DataOutputByteBuffer

public DataOutputByteBuffer(int size)

DataOutputByteBuffer

public DataOutputByteBuffer(int size,
                            boolean direct)
Method Detail

getData

public ByteBuffer[] getData()

getLength

public int getLength()

reset

public void reset()


Copyright © 2013 Apache Software Foundation. All Rights Reserved.