I am new to Java NIO. I am seeing that a FileChannel object has both read and write methods. But I am unable to read and write using the same FileChannel at a single point of time. Is there a way to do so?
I am new to Java NIO. I am seeing that a FileChannel object has
Share
Get a
FileChannelfrom RandomAccessFile object with “rw” mode.You can refer this link for more.
FileChannel tutorial