public LibaioFile<Callback> openFile(File file,boolean direct) throws IOException {
  return openFile(file.getPath(),direct);
}

public LibaioFile < Callback > openFile ( File file , boolean direct ) throws IOException { return openFile ( file . getPath ( ) , direct ) ; }
it will open a file . if you set the direct flag = false then you won ' t need to use the special buffer . notice : this will create an empty file if the file doesn ' t already exist .
