Class BufferFileChannelReader


  • public class BufferFileChannelReader
    extends Object
    Helper class to read Buffers from files into objects.
    • Method Detail

      • readBufferFromFileChannel

        public boolean readBufferFromFileChannel​(Buffer buffer)
                                          throws IOException
        Reads data from the object's file channel into the given buffer.
        Parameters:
        buffer - the buffer to read into
        Returns:
        whether the end of the file has been reached (true) or not (false)
        Throws:
        IOException