jhplot.io
Class RecordWriter

java.lang.Object
  extended by jhplot.io.RecordWriter

public class RecordWriter
extends Object


Constructor Summary
RecordWriter(String key)
           
 
Method Summary
 int getDataLength()
          Returns the number of bytes in the data.
 String getKey()
           
 ObjectOutputStream getObjectOutputStream()
           
 OutputStream getOutputStream()
           
 void writeObject(Object o)
           
 void writeTo(DataOutput str)
          Writes the data out to the stream without re-allocating the buffer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordWriter

public RecordWriter(String key)
Method Detail

getKey

public String getKey()

getOutputStream

public OutputStream getOutputStream()

getObjectOutputStream

public ObjectOutputStream getObjectOutputStream()
                                         throws IOException
Throws:
IOException

writeObject

public void writeObject(Object o)
                 throws IOException
Throws:
IOException

getDataLength

public int getDataLength()
Returns the number of bytes in the data.


writeTo

public void writeTo(DataOutput str)
             throws IOException
Writes the data out to the stream without re-allocating the buffer.

Throws:
IOException


jHepWork 3.1 ©