org.deckfour.xes.nikefs2
Class NikeFS2RandomAccessStorageImpl.FS2BlockOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by org.deckfour.xes.nikefs2.NikeFS2RandomAccessStorageImpl.FS2BlockOutputStream
All Implemented Interfaces:
Closeable, Flushable
Enclosing class:
NikeFS2RandomAccessStorageImpl

protected class NikeFS2RandomAccessStorageImpl.FS2BlockOutputStream
extends OutputStream

Internal support class implementing an output stream over a list of blocks, as implemented by the enclosing class

Author:
Christian W. Guenther (christian@deckfour.org)

Constructor Summary
protected NikeFS2RandomAccessStorageImpl.FS2BlockOutputStream()
           
 
Method Summary
protected  void finalize()
           
 void flush()
           
 void write(byte[] buffer)
           
 void write(byte[] buffer, int offset, int length)
           
 void write(int value)
           
 
Methods inherited from class java.io.OutputStream
close
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NikeFS2RandomAccessStorageImpl.FS2BlockOutputStream

protected NikeFS2RandomAccessStorageImpl.FS2BlockOutputStream()
Method Detail

write

public void write(int value)
           throws IOException
Specified by:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] buffer,
                  int offset,
                  int length)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

write

public void write(byte[] buffer)
           throws IOException
Overrides:
write in class OutputStream
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Overrides:
flush in class OutputStream
Throws:
IOException

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable