* @throws java.io.IOException on error
*/
MMapRandomAccessFile(String location, String mode ) throws IOException {
super(location, mode, 1);
FileChannel channel = file.getChannel();
source = channel.map( readonly ? FileChannel.MapMode.READ_ONLY : FileChannel.MapMode.READ_WRITE, (long) 0, channel.size());
channel.close();
bufferStart = 0;
dataSize = (int) channel.size();
dataEnd = channel.size();