Package org.deckfour.xes.nikefs2
Class NikeFS2RandomAccessStorageImpl.FS2BlockInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.deckfour.xes.nikefs2.NikeFS2RandomAccessStorageImpl.FS2BlockInputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
- Enclosing class:
- NikeFS2RandomAccessStorageImpl
protected class NikeFS2RandomAccessStorageImpl.FS2BlockInputStream extends java.io.InputStreamInternal 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
Constructors Modifier Constructor Description protectedFS2BlockInputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmarkSupported()intread()intread(byte[] buffer)intread(byte[] buffer, int offset, int length)longskip(long skip)
-
-
-
Method Detail
-
read
public int read() throws java.io.IOException- Specified by:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
read
public int read(byte[] buffer, int offset, int length) throws java.io.IOException- Overrides:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
read
public int read(byte[] buffer) throws java.io.IOException- Overrides:
readin classjava.io.InputStream- Throws:
java.io.IOException
-
skip
public long skip(long skip) throws java.io.IOException- Overrides:
skipin classjava.io.InputStream- Throws:
java.io.IOException
-
markSupported
public boolean markSupported()
- Overrides:
markSupportedin classjava.io.InputStream
-
-