question: private void uninstall ( String identifier ) { if ( vocabulariesById . containsKey ( identifier ) ) { Vocabulary toUninstall = vocabulariesById . get ( identifier ) ; File f = getVocabFile ( toUninstall . getUriResolvable ( ) ) ; if ( f . exists ( ) ) { f . delete ( ) ; log . debug ( "Successfully deleted (uninstalled) vocabulary file: " + f . getAbsolutePath ( ) ) ; } else { log . warn ( "Vocabulary file doesn't exist locally - can't delete: " + f . getAbsolutePath ( ) ) ; } vocabulariesById . remove ( identifier ) ; } else { log . warn ( "Vocabulary not installed locally, can't uninstall: " + identifier ) ; } }
target:  Uninstall vocabulary by its unique identifier.