public class FileSegmentInputStream extends DataInputBuffer implements FileDataInput
DataInputPlus.DataInputStreamPlus
buffer
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, reBuffer
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readPrimitiveSlowly, readShort, readUnsignedByte, readUnsignedShort, readUnsignedVInt, readUTF, readVInt, reset, skipBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readUnsignedVInt, readVInt, skipBytes, skipBytesFully
public FileSegmentInputStream(java.nio.ByteBuffer buffer, java.lang.String filePath, long offset)
public java.lang.String getPath()
getPath
in interface FileDataInput
public boolean isEOF()
isEOF
in interface FileDataInput
public long bytesRemaining()
bytesRemaining
in interface FileDataInput
public void seek(long pos)
seek
in interface FileDataInput
public boolean markSupported()
markSupported
in class RebufferingInputStream
public FileMark mark()
mark
in interface FileDataInput
public void reset(FileMark mark)
reset
in interface FileDataInput
public long bytesPastMark(FileMark mark)
bytesPastMark
in interface FileDataInput
public long getFilePointer()
getFilePointer
in interface FileDataInput
Copyright © 2015 The Apache Software Foundation