gov.nasa.gsfc.drl.rtstps.clients.spooler
Class FileSpool.FWriter

java.lang.Object
  extended by gov.nasa.gsfc.drl.rtstps.clients.spooler.FileSpool.FWriter
Enclosing class:
FileSpool

 class FileSpool.FWriter
extends java.lang.Object


Field Summary
private  FileSpool.KeyList keyList
           
private  byte[] wdata
           
private  int windex
           
private  java.io.OutputStream wstream
           
 
Constructor Summary
FileSpool.FWriter(java.io.File file, FileSpool.KeyList keyList)
           
 
Method Summary
(package private)  void close()
           
(package private)  int getIndex()
           
(package private)  byte[] getWriteBuffer()
           
(package private)  int putWriteBuffer(int length, boolean toggle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

windex

private int windex

wdata

private byte[] wdata

wstream

private java.io.OutputStream wstream

keyList

private FileSpool.KeyList keyList
Constructor Detail

FileSpool.FWriter

FileSpool.FWriter(java.io.File file,
                  FileSpool.KeyList keyList)
            throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getIndex

final int getIndex()

getWriteBuffer

final byte[] getWriteBuffer()

putWriteBuffer

int putWriteBuffer(int length,
                   boolean toggle)
             throws java.io.IOException
Throws:
java.io.IOException

close

void close()
     throws java.io.IOException
Throws:
java.io.IOException