public File getConfigDirectory ( ) { String dirName = getConfigDir ( ) ; File answer = null ; if ( Strings . isNotBlank ( dirName ) ) { answer = new File ( dirName ) ; } else { answer = new File ( ".hawtio" ) ; } answer . mkdirs ( ) ; return answer ; }
Returns the configuration directory ; lazily attempting to create it if it does not yet exist