question: private void loadBinary ( InputStream is ) throws IOException { if ( useNewIO && is instanceof FileInputStream ) { FileInputStream fis = ( FileInputStream ) is ; if ( useIndexing ) { loadBinaryIndex ( new URL ( indexName ) ) ; mapDatabase ( fis ) ; } else { loadMappedBinary ( fis ) ; } } else { DataInputStream dis = new DataInputStream ( new BufferedInputStream ( is ) ) ; loadBinary ( dis ) ; } }
target:  Loads a binary file from the input stream. <p/> Note that we currently have four! methods of loading up the database. We were interested in the performance characteristics of the various methods of loading the database so we coded it all up.