public class FileVersionInputStream extends InputStream
Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected int |
version |
Constructor and Description |
---|
FileVersionInputStream(String id,
int version,
ITupleIterator src) |
Modifier and Type | Method and Description |
---|---|
long |
getBlock()
The current block identifier.
|
String |
getId()
The file identifier.
|
int |
getVersion()
The file version identifer.
|
int |
read() |
int |
read(byte[] b,
int off,
int len)
Overriden for greater efficiency.
|
available, close, mark, markSupported, read, reset, skip
protected final String id
protected final int version
public FileVersionInputStream(String id, int version, ITupleIterator src)
public String getId()
public int getVersion()
public long getBlock()
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.