19 package org.sleuthkit.autopsy.casemodule;
22 import java.util.logging.Level;
23 import org.apache.commons.lang.StringUtils;
24 import org.openide.modules.ModuleInstall;
32 public final class Installer extends ModuleInstall {
40 if (instance == null) {
51 String tempDirStr = null;
54 if (StringUtils.isNotBlank(tempDirStr)) {
55 File tempDir =
new File(tempDirStr);
56 if (tempDir.exists()) {
60 }
catch (Exception ex) {
63 logger.log(Level.WARNING,
"There was an error while cleaning up temp directory: " + (tempDirStr == null ?
"<null>" : tempDirStr), ex);
static String getAppTempDirectory()
static final long serialVersionUID
static final Logger logger
static Installer instance
synchronized static Logger getLogger(String name)
static synchronized Installer getDefault()
static boolean deleteDir(File dirPath)