Autopsy  4.19.3
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 FactoryClassNameNormalizer.java.

Member Function Documentation

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

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.

Parameters
classNameToVerifyclass name to verify.
Returns
True or false

Definition at line 53 of file FactoryClassNameNormalizer.java.

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

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

Member Data Documentation

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

Definition at line 29 of file FactoryClassNameNormalizer.java.

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

Definition at line 28 of file FactoryClassNameNormalizer.java.


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

Copyright © 2012-2022 Basis Technology. Generated on: Wed Oct 5 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.