public void delete ( String key ) throws VictimsException { key = hash ( key ) ; try { FileUtils . forceDelete ( FileUtils . getFile ( location , key ) ) ; } catch ( IOException e ) { throw new VictimsException ( String . format ( "Could not delete the cached entry from disk: %s" , key ) , e ) ; } }
Delete the cache entry for a given key .