jhplot.io
Class RecordWriter

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

public class RecordWriter
extends java.lang.Object


Constructor Summary
RecordWriter(java.lang.String key)
           
 
Method Summary
 int getDataLength()
          Returns the number of bytes in the data.
 java.lang.String getKey()
           
 java.io.ObjectOutputStream getObjectOutputStream()
           
 java.io.OutputStream getOutputStream()
           
 void writeObject(java.lang.Object o)
           
 void writeTo(java.io.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(java.lang.String key)
Method Detail

getKey

public java.lang.String getKey()

getOutputStream

public java.io.OutputStream getOutputStream()

getObjectOutputStream

public java.io.ObjectOutputStream getObjectOutputStream()
                                                 throws java.io.IOException
Throws:
java.io.IOException

writeObject

public void writeObject(java.lang.Object o)
                 throws java.io.IOException
Throws:
java.io.IOException

getDataLength

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


writeTo

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

Throws:
java.io.IOException


jHepWork 2.8 (©) S.Chekanov