Autopsy  4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.core.Installer Class Reference

Inherits ModuleInstall.

Public Member Functions

 Installer ()
 
void close ()
 
boolean closing ()
 
void restored ()
 
void uninstalled ()
 
void validate () throws IllegalStateException
 

Static Public Member Functions

static boolean isJavaFxInited ()
 

Private Member Functions

void updateConfig ()
 

Static Private Member Functions

static void addGstreamerPathsToEnv ()
 
static void ensureClassifierFolderExists ()
 
static void ensureOcrLanguagePacksFolderExists ()
 
static void ensurePythonModulesFolderExists ()
 
static void initJavaFx ()
 
static void loadDynLibraries ()
 

Private Attributes

final List< ModuleInstall > packageInstallers
 

Static Private Attributes

static volatile boolean javaFxInit = false
 
static final Logger logger = Logger.getLogger(Installer.class.getName())
 
static final long serialVersionUID = 1L
 

Detailed Description

Wrapper over Installers in packages in Core module. This is the main registered installer in the MANIFEST.MF.

Definition at line 55 of file Installer.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.core.Installer.Installer ( )

This is a temporary workaround for the following bug in Tika that results in a null pointer exception when used from the Image Gallery. The current hypothesis is that the Image Gallery is cancelling the thumbnail task that Tika initialization is happening on. Once the Tika issue has been fixed we should no longer need this workaround.

https://issues.apache.org/jira/browse/TIKA-2896

Definition at line 212 of file Installer.java.

References org.sleuthkit.autopsy.ingest.Installer.getDefault(), org.sleuthkit.autopsy.healthmonitor.Installer.getDefault(), org.sleuthkit.autopsy.coreutils.Installer.getDefault(), org.sleuthkit.autopsy.datamodel.Installer.getDefault(), org.sleuthkit.autopsy.centralrepository.eventlisteners.Installer.getDefault(), org.sleuthkit.autopsy.corecomponents.Installer.getDefault(), and org.sleuthkit.autopsy.core.Installer.updateConfig().

Member Function Documentation

static void org.sleuthkit.autopsy.core.Installer.addGstreamerPathsToEnv ( )
staticprivate

Add the Gstreamer bin and lib paths to the PATH environment variable so that the correct plugins and libraries are found when Gstreamer is initialized later.

Definition at line 301 of file Installer.java.

References org.sleuthkit.autopsy.coreutils.PlatformUtil.is64BitJVM().

Referenced by org.sleuthkit.autopsy.core.Installer.loadDynLibraries().

void org.sleuthkit.autopsy.core.Installer.close ( )

Definition at line 461 of file Installer.java.

boolean org.sleuthkit.autopsy.core.Installer.closing ( )
static void org.sleuthkit.autopsy.core.Installer.ensureClassifierFolderExists ( )
staticprivate

Make a folder in the config directory for object detection classifiers if one does not exist.

Definition at line 341 of file Installer.java.

References org.sleuthkit.autopsy.coreutils.PlatformUtil.getObjectDetectionClassifierPath().

Referenced by org.sleuthkit.autopsy.core.Installer.restored().

static void org.sleuthkit.autopsy.core.Installer.ensureOcrLanguagePacksFolderExists ( )
staticprivate

Make a folder in the config directory for Ocr Language Packs if one does not exist.

Definition at line 359 of file Installer.java.

References org.sleuthkit.autopsy.coreutils.PlatformUtil.getOcrLanguagePacksPath().

Referenced by org.sleuthkit.autopsy.core.Installer.restored().

static void org.sleuthkit.autopsy.core.Installer.ensurePythonModulesFolderExists ( )
staticprivate

Make a folder in the config directory for Python Modules if one does not exist.

Definition at line 350 of file Installer.java.

References org.sleuthkit.autopsy.coreutils.PlatformUtil.getUserPythonModulesPath().

Referenced by org.sleuthkit.autopsy.core.Installer.restored().

static void org.sleuthkit.autopsy.core.Installer.initJavaFx ( )
staticprivate
static boolean org.sleuthkit.autopsy.core.Installer.isJavaFxInited ( )
static

Check if JavaFx initialized

Returns
false if java fx not initialized (classes could not load), true if initialized

Definition at line 268 of file Installer.java.

References org.sleuthkit.autopsy.core.Installer.javaFxInit.

Referenced by org.sleuthkit.autopsy.timeline.OpenTimelineAction.isEnabled().

static void org.sleuthkit.autopsy.core.Installer.loadDynLibraries ( )
staticprivate
void org.sleuthkit.autopsy.core.Installer.restored ( )
void org.sleuthkit.autopsy.core.Installer.uninstalled ( )

Definition at line 411 of file Installer.java.

void org.sleuthkit.autopsy.core.Installer.updateConfig ( )
private
void org.sleuthkit.autopsy.core.Installer.validate ( ) throws IllegalStateException

Definition at line 396 of file Installer.java.

Member Data Documentation

volatile boolean org.sleuthkit.autopsy.core.Installer.javaFxInit = false
staticprivate

Definition at line 61 of file Installer.java.

Referenced by org.sleuthkit.autopsy.core.Installer.isJavaFxInited().

final Logger org.sleuthkit.autopsy.core.Installer.logger = Logger.getLogger(Installer.class.getName())
staticprivate

Definition at line 60 of file Installer.java.

final List<ModuleInstall> org.sleuthkit.autopsy.core.Installer.packageInstallers
private

Definition at line 59 of file Installer.java.

final long org.sleuthkit.autopsy.core.Installer.serialVersionUID = 1L
staticprivate

Definition at line 57 of file Installer.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.