public void dropDatabase() throws IOException {
  File dbDir=new File(getRawName());
  log.debug("Dropping database {} by removing directory {}",name,dbDir.getAbsoluteFile());
  FileUtils.deleteDirectory(dbDir);
}

public void dropDatabase ( ) throws IOException { File dbDir = new File ( getRawName ( ) ) ; log . debug ( "Dropping database {} by removing directory {}" , name , dbDir . getAbsoluteFile ( ) ) ; FileUtils . deleteDirectory ( dbDir ) ; }
drops the database by deleting it ' s files from disk . this assumes the working directory isn ' t changing so the database files can be found relative to the current working directory .
