public interface BufferFileReader extends FileIOChannel
FileIOChannel.Enumerator, FileIOChannel.ID| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
hasReachedEndOfFile() |
void |
readInto(Buffer buffer) |
void |
seekToPosition(long position) |
close, closeAndDelete, deleteChannel, getChannelID, getNioFileChannel, getSize, isClosedvoid readInto(Buffer buffer) throws IOException
IOExceptionvoid seekToPosition(long position)
throws IOException
IOExceptionboolean hasReachedEndOfFile()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.