private boolean openDB ( File file , Options options ) { try { database = JniDBFactory . factory . open ( file , options ) ; logger . info ( "Using JNI Level DB" ) ; return true ; } catch ( IOException ex1 ) { try { database = Iq80DBFactory . factory . open ( file , options ) ; logger . info ( "Using Java Level DB" ) ; return false ; } catch ( IOException ex2 ) { return Exceptions . handle ( Boolean . class , ex2 ) ; } } }
Opens the database