Autopsy  4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.discovery.search.DomainSearchCacheLoader.DomainCallback Class Reference

Inherits CaseDbAccessQueryCallback.

Public Member Functions

void process (ResultSet resultSet)
 

Private Member Functions

 DomainCallback (SleuthkitCase skc)
 
List< ResultgetResultDomains ()
 
SQLException getSQLException ()
 
TskCoreException getTskCoreException ()
 

Private Attributes

final Set< String > bannedDomains
 
TskCoreException coreCause
 
final List< ResultresultDomains
 
final SleuthkitCase skc
 
SQLException sqlCause
 

Detailed Description

Callback to handle the result set of the domain query. This callback is responsible for mapping result set rows into ResultDomain objects for display.

Definition at line 241 of file DomainSearchCacheLoader.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.discovery.search.DomainSearchCacheLoader.DomainCallback.DomainCallback ( SleuthkitCase  skc)
private

Construct a new DomainCallback object.

Parameters
skcThe case database for the query being performed.

Definition at line 258 of file DomainSearchCacheLoader.java.

References org.sleuthkit.autopsy.discovery.search.DomainSearchCacheLoader.DomainCallback.skc.

Member Function Documentation

List<Result> org.sleuthkit.autopsy.discovery.search.DomainSearchCacheLoader.DomainCallback.getResultDomains ( )
private

Get the list of Result object for the domains which were in the search results.

Returns
The list of Result object for the domains which were in the search results.

Definition at line 319 of file DomainSearchCacheLoader.java.

SQLException org.sleuthkit.autopsy.discovery.search.DomainSearchCacheLoader.DomainCallback.getSQLException ( )
private

Get the SQLEception in an exception occurred.

Returns
The SQLEception in an exception occurred.

Definition at line 328 of file DomainSearchCacheLoader.java.

References org.sleuthkit.autopsy.discovery.search.DomainSearchCacheLoader.DomainCallback.sqlCause.

TskCoreException org.sleuthkit.autopsy.discovery.search.DomainSearchCacheLoader.DomainCallback.getTskCoreException ( )
private

Get the TskCoreException if a SQL exception occurred.

Returns
The TskCoreException if a tsk core exception occurred.

Definition at line 337 of file DomainSearchCacheLoader.java.

References org.sleuthkit.autopsy.discovery.search.DomainSearchCacheLoader.DomainCallback.coreCause.

void org.sleuthkit.autopsy.discovery.search.DomainSearchCacheLoader.DomainCallback.process ( ResultSet  resultSet)

Definition at line 264 of file DomainSearchCacheLoader.java.

Member Data Documentation

final Set<String> org.sleuthkit.autopsy.discovery.search.DomainSearchCacheLoader.DomainCallback.bannedDomains
private
Initial value:
= new HashSet<String>() {{
add("localhost");
add("127.0.0.1");
}}

Definition at line 248 of file DomainSearchCacheLoader.java.

TskCoreException org.sleuthkit.autopsy.discovery.search.DomainSearchCacheLoader.DomainCallback.coreCause
private
final List<Result> org.sleuthkit.autopsy.discovery.search.DomainSearchCacheLoader.DomainCallback.resultDomains
private

Definition at line 243 of file DomainSearchCacheLoader.java.

final SleuthkitCase org.sleuthkit.autopsy.discovery.search.DomainSearchCacheLoader.DomainCallback.skc
private
SQLException org.sleuthkit.autopsy.discovery.search.DomainSearchCacheLoader.DomainCallback.sqlCause
private

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.