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

Static Public Member Functions

static String extractDomain (String urlString)
static String getLocalHostName ()

Private Member Functions

 NetworkUtils ()

Static Private Member Functions

static String getBaseDomain (String url)

Detailed Description

Definition at line 26 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.coreutils.NetworkUtils.NetworkUtils ( )

Definition at line 28 of file

Member Function Documentation

static String org.sleuthkit.autopsy.coreutils.NetworkUtils.extractDomain ( String  urlString)

Attempt to extract the domain from a URL. Will start by using the built-in URL class, and if that fails will try to extract it manually.

urlStringThe URL to extract the domain from
empty string if no domain name was found

Definition at line 112 of file

References org.sleuthkit.autopsy.coreutils.NetworkUtils.getBaseDomain().

static String org.sleuthkit.autopsy.coreutils.NetworkUtils.getBaseDomain ( String  url)

Attempt to manually extract the domain from a URL.

empty string if no domain could be found

Definition at line 59 of file

Referenced by org.sleuthkit.autopsy.coreutils.NetworkUtils.extractDomain().

static String org.sleuthkit.autopsy.coreutils.NetworkUtils.getLocalHostName ( )

Set the host name variable. Sometimes the network can be finicky, so the answer returned by getHostName() could throw an exception or be null. Have it read the environment variable if getHostName() is unsuccessful.

the local host name

Definition at line 38 of file

Referenced by org.sleuthkit.autopsy.casemodule.SingleUserCaseConverter.copyResults(), org.sleuthkit.autopsy.casemodule.Case.createCaseDirectory(), org.sleuthkit.autopsy.casemodule.SingleUserCaseConverter.fixPaths(), and org.sleuthkit.autopsy.casemodule.Case.getOutputDirectory().

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

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