Autopsy  4.19.3
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)
 
InterruptedException getInterruptedException ()
 
List< ResultgetResultDomains ()
 
SQLException getSQLException ()
 
TskCoreException getTskCoreException ()
 

Private Attributes

final Set< String > bannedDomains
 
TskCoreException coreCause
 
InterruptedException interruptedException
 
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 276 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 296 of file DomainSearchCacheLoader.java.

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

Member Function Documentation

InterruptedException org.sleuthkit.autopsy.discovery.search.DomainSearchCacheLoader.DomainCallback.getInterruptedException ( )
private

Get the interrupted exception if the processing thread was interrupted.

Returns
The interrupted exception or null if none was thrown.

Definition at line 377 of file DomainSearchCacheLoader.java.

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

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 349 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 358 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 367 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 302 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 284 of file DomainSearchCacheLoader.java.

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

Definition at line 278 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-2022 Basis Technology. Generated on: Sun Nov 27 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.