public class BufferFileReaderImpl extends AbstractFileIOChannel implements BufferFileReader
BufferFileReader
implementation.FileIOChannel.Enumerator, FileIOChannel.ID
fileChannel, id, LOG
Constructor and Description |
---|
BufferFileReaderImpl(FileIOChannel.ID channelID) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasReachedEndOfFile() |
void |
readInto(Buffer buffer) |
close, closeAndDelete, deleteChannel, getChannelID, getNioFileChannel, getSize, isClosed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, closeAndDelete, deleteChannel, getChannelID, getNioFileChannel, getSize, isClosed
public BufferFileReaderImpl(FileIOChannel.ID channelID) throws IOException
IOException
public void readInto(Buffer buffer) throws IOException
readInto
in interface BufferFileReader
IOException
public boolean hasReachedEndOfFile()
hasReachedEndOfFile
in interface BufferFileReader
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.