Autopsy
4.16.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits CacheLoader< DomainSearchThumbnailRequest, Image >.
Public Member Functions | |
DomainSearchThumbnailLoader () | |
Image | load (DomainSearchThumbnailRequest thumbnailRequest) throws TskCoreException, DiscoveryException |
Private Member Functions | |
void | addIfJpeg (List< AbstractFile > files, Content sourceContent) |
List< AbstractFile > | getJpegsFromWebCache (SleuthkitCase caseDb, List< BlackboardArtifact > artifacts) throws TskCoreException |
List< AbstractFile > | getJpegsFromWebDownload (SleuthkitCase caseDb, List< BlackboardArtifact > artifacts) throws TskCoreException |
Private Attributes | |
final DomainSearchArtifactsCache | artifactsCache |
Static Private Attributes | |
static final String | JPG_EXTENSION = "jpg" |
static final String | JPG_MIME_TYPE = "image/jpeg" |
static final String | UNSUPPORTED_IMAGE = "org/sleuthkit/autopsy/images/image-extraction-not-supported.png" |
Loads a thumbnail for the given request. Thumbnail candidates are JPEG files that are either TSK_WEB_DOWNLOAD or TSK_WEB_CACHE artifacts. JPEG files are sorted by most recent if sourced from TSK_WEB_DOWNLOADs. JPEG files are sorted by size if sourced from TSK_WEB_CACHE artifacts. Artifacts are first loaded from the DomainSearchArtifactsCache and then further analyzed.
Definition at line 47 of file DomainSearchThumbnailLoader.java.
org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.DomainSearchThumbnailLoader | ( | ) |
Construct a new DomainSearchThumbnailLoader.
Definition at line 57 of file DomainSearchThumbnailLoader.java.
|
private |
Checks if the candidate source content is indeed a JPEG file.
files | The list of source content files which are jpegs to add to. |
sourceContent | The source content to check and possibly add. |
Definition at line 154 of file DomainSearchThumbnailLoader.java.
Referenced by org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.getJpegsFromWebCache(), and org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.getJpegsFromWebDownload().
|
private |
Finds all JPEG source files from TSK_WEB_CACHE instances.
caseDb | The case database being searched. |
artifacts | The list of artifacts to get jpegs from. |
Definition at line 134 of file DomainSearchThumbnailLoader.java.
References org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.addIfJpeg().
Referenced by org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.load().
|
private |
Finds all JPEG source files from TSK_WEB_DOWNLOAD instances.
caseDb | The case database being searched. |
artifacts | The list of artifacts to get jpegs from. |
TskCoreException |
Definition at line 116 of file DomainSearchThumbnailLoader.java.
References org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.addIfJpeg().
Referenced by org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.load().
Image org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.load | ( | DomainSearchThumbnailRequest | thumbnailRequest | ) | throws TskCoreException, DiscoveryException |
Definition at line 73 of file DomainSearchThumbnailLoader.java.
References org.sleuthkit.autopsy.discovery.search.DomainSearchArtifactsCache.get(), org.sleuthkit.autopsy.coreutils.ImageUtils.getDefaultThumbnail(), org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.getJpegsFromWebCache(), org.sleuthkit.autopsy.discovery.search.DomainSearchThumbnailLoader.getJpegsFromWebDownload(), and org.sleuthkit.autopsy.coreutils.ImageUtils.getThumbnail().
|
private |
Definition at line 52 of file DomainSearchThumbnailLoader.java.
|
staticprivate |
Definition at line 50 of file DomainSearchThumbnailLoader.java.
|
staticprivate |
Definition at line 51 of file DomainSearchThumbnailLoader.java.
|
staticprivate |
Definition at line 49 of file DomainSearchThumbnailLoader.java.
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.