Package org.sf.mustru.utils

Examples of org.sf.mustru.utils.DbTools.dropSecDB()


   //*-- initialize and create a new database for the list of extracted files and a secondary
   //*-- database for the file signature
   dbt.dropDB(Constants.EXT_FILES_DB);
   dbt.createDB(Constants.EXT_FILES_DB, createFlag, dupFlag);
   logger.info("Created py. database " + Constants.EXT_FILES_DB);
   dbt.dropSecDB(Constants.EXT_FILES_SECDB);
   SecKeyDoc skd = new SecKeyDoc( new IndexableDoc().getBdbBinding() );
   if (dbt.createSecDB(Constants.EXT_FILES_SECDB, false, skd))
    logger.info("Created sec. database " + Constants.EXT_FILES_SECDB);
   dbt.closeSecDB(); dbt.closeDB();

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.