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(DataPosition mark) |
long |
bytesRemaining() |
long |
getFilePointer() |
java.lang.String |
getPath() |
boolean |
isEOF() |
DataPosition |
mark() |
boolean |
markSupported() |
void |
reset(DataPosition 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 DataPosition mark()
mark in interface RewindableDataInputpublic void reset(DataPosition mark)
reset in interface RewindableDataInputpublic long bytesPastMark(DataPosition mark)
bytesPastMark in interface RewindableDataInputpublic long getFilePointer()
getFilePointer in interface FileDataInputCopyright © 2016 The Apache Software Foundation