public class CoreInputStream extends CoreStream implements CrailInputStream
fs, node| Constructor and Description |
|---|
CoreInputStream(CoreNode file,
long streamId,
long readHint) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
Future<CrailResult> |
read(CrailBuffer dataBuf) |
void |
seek(long pos) |
getFile, positionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFile, positionpublic final Future<CrailResult> read(CrailBuffer dataBuf) throws Exception
read in interface CrailInputStreamExceptionpublic final int available()
available in interface CrailInputStreampublic final void seek(long pos)
throws IOException
seek in interface CrailInputStreamIOExceptionpublic void close()
throws Exception
close in interface CrailInputStreamExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.