protected String getDirectory ( ) { //get the default filepath of the permanet storage file String directory = storageConfiguration . getDirectory ( ) ; if ( directory == null || directory . isEmpty ( ) ) { directory = System . getProperty ( "java.io.tmpdir" ) ; //write them to the tmp directory } return directory ; }
Returns the location of the directory from the configuration or the temporary directory if not defined .