org.deckfour.xes.nikefs2
Class NikeFS2RandomAccessStorageImpl.FS2BlockInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by org.deckfour.xes.nikefs2.NikeFS2RandomAccessStorageImpl.FS2BlockInputStream
All Implemented Interfaces:
Closeable
Enclosing class:
NikeFS2RandomAccessStorageImpl

protected class NikeFS2RandomAccessStorageImpl.FS2BlockInputStream
extends InputStream

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

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

Constructor Summary
protected NikeFS2RandomAccessStorageImpl.FS2BlockInputStream()
           
 
Method Summary
 boolean markSupported()
           
 int read()
           
 int read(byte[] buffer)
           
 int read(byte[] buffer, int offset, int length)
           
 long skip(long skip)
           
 
Methods inherited from class java.io.InputStream
available, close, mark, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NikeFS2RandomAccessStorageImpl.FS2BlockInputStream

protected NikeFS2RandomAccessStorageImpl.FS2BlockInputStream()
Method Detail

read

public int read()
         throws IOException
Specified by:
read in class InputStream
Throws:
IOException

read

public int read(byte[] buffer,
                int offset,
                int length)
         throws IOException
Overrides:
read in class InputStream
Throws:
IOException

read

public int read(byte[] buffer)
         throws IOException
Overrides:
read in class InputStream
Throws:
IOException

skip

public long skip(long skip)
          throws IOException
Overrides:
skip in class InputStream
Throws:
IOException

markSupported

public boolean markSupported()
Overrides:
markSupported in class InputStream