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

Static Public Member Functions

static String normalize (String canonicalClassName)

Static Private Member Functions

static boolean isPythonClassName (String classNameToVerify)

Static Private Attributes

static final Logger logger = Logger.getLogger(FactoryClassNameNormalizer.class.getName())
static final CharSequence pythonModuleSettingsPrefixCS = "org.python.proxies.".subSequence(0, "org.python.proxies.".length() - 1)

Detailed Description

Used to strip Python IDs on factory class names.

Definition at line 26 of file

Member Function Documentation

static boolean org.sleuthkit.autopsy.python.FactoryClassNameNormalizer.isPythonClassName ( String  classNameToVerify)

Determines if the classNameToVerify is that of a serialized Jython instance. Serialized Jython instances (settings saved on the disk) contain "org.python.proxies." in their fileName based on the current implementation.

classNameToVerifyclass name to verify.
True or false

Definition at line 53 of file

Referenced by org.sleuthkit.autopsy.python.FactoryClassNameNormalizer.normalize().

static String org.sleuthkit.autopsy.python.FactoryClassNameNormalizer.normalize ( String  canonicalClassName)

Member Data Documentation

final Logger org.sleuthkit.autopsy.python.FactoryClassNameNormalizer.logger = Logger.getLogger(FactoryClassNameNormalizer.class.getName())

Definition at line 29 of file

final CharSequence org.sleuthkit.autopsy.python.FactoryClassNameNormalizer.pythonModuleSettingsPrefixCS = "org.python.proxies.".subSequence(0, "org.python.proxies.".length() - 1)

Definition at line 28 of file

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

Copyright © 2012-2021 Basis Technology. Generated on: Tue Jan 19 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.