public String getBasePath ( ) { StringBuilder sb = new StringBuilder ( getBaseDirUnchecked ( ) . getAbsolutePath ( ) ) ; if ( ! getBaseDirUnchecked ( ) . exists ( ) ) { sb . append ( " (non-existent!)" ) ; } else if ( ! getBaseDirUnchecked ( ) . isDirectory ( ) ) { sb . append ( " (no directory!)" ) ; } else { sb . append ( " (Free: " ) . append ( NLS . formatSize ( getBaseDir ( ) . getFreeSpace ( ) ) ) . append ( ")" ) ; } return sb . toString ( ) ; }
Returns the base directory as string .