public class FileSegmentInputStream extends DataInputBuffer implements FileDataInput
DataInputPlus.DataInputStreamPlusbuffer| Constructor and Description |
|---|
FileSegmentInputStream(java.nio.ByteBuffer buffer,
java.lang.String filePath,
long offset) |
| Modifier and Type | Method and Description |
|---|---|
long |
bytesPastMark(FileMark mark) |
long |
bytesRemaining() |
long |
getFilePointer() |
java.lang.String |
getPath() |
boolean |
isEOF() |
FileMark |
mark() |
boolean |
markSupported() |
void |
reset(FileMark mark) |
void |
seek(long pos) |
available, reBufferread, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readPrimitiveSlowly, readShort, readUnsignedByte, readUnsignedShort, readUnsignedVInt, readUTF, readVInt, reset, skipBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadUnsignedVInt, readVInt, skipBytes, skipBytesFullypublic FileSegmentInputStream(java.nio.ByteBuffer buffer,
java.lang.String filePath,
long offset)
public java.lang.String getPath()
getPath in interface FileDataInputpublic boolean isEOF()
isEOF in interface FileDataInputpublic long bytesRemaining()
bytesRemaining in interface FileDataInputpublic void seek(long pos)
seek in interface FileDataInputpublic boolean markSupported()
markSupported in class RebufferingInputStreampublic FileMark mark()
mark in interface FileDataInputpublic void reset(FileMark mark)
reset in interface FileDataInputpublic long bytesPastMark(FileMark mark)
bytesPastMark in interface FileDataInputpublic long getFilePointer()
getFilePointer in interface FileDataInputCopyright © 2016 The Apache Software Foundation