public File getHomeDirectory ( ) { if ( ! configuration . has ( STORAGE_DIRECTORY ) ) throw new UnsupportedOperationException ( "No home directory specified" ) ; File dir = new File ( configuration . get ( STORAGE_DIRECTORY ) ) ; Preconditions . checkArgument ( dir . isDirectory ( ) , "Not a directory" ) ; return dir ; }
Returns the home directory for the graph database initialized in this configuration