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

Inherits org.sleuthkit.autopsy.coreutils.ImageUtils.ReadImageTaskBase.

Public Member Functions

void imageComplete (ImageReader source)
 
void imageProgress (ImageReader reader, float percentageDone)
 
void imageStarted (ImageReader source, int imageIndex)
 
boolean isCancelled ()
 
void readAborted (ImageReader source)
 
void sequenceComplete (ImageReader source)
 
void sequenceStarted (ImageReader source, int minIndex)
 
void thumbnailComplete (ImageReader source)
 
void thumbnailProgress (ImageReader source, float percentageDone)
 
void thumbnailStarted (ImageReader source, int imageIndex, int thumbnailIndex)
 

Protected Member Functions

javafx.scene.image.Image call () throws Exception
 
void failed ()
 
javafx.scene.image.Image readImage () throws IOException
 
void succeeded ()
 

Private Member Functions

 GetThumbnailTask (AbstractFile file, int iconSize, boolean defaultOnFailure)
 
void saveThumbnail (BufferedImage thumbnail)
 

Private Attributes

final File cacheFile
 
final boolean defaultOnFailure
 
final int iconSize
 

Static Private Attributes

static final String FAILED_TO_READ_IMAGE_FOR_THUMBNAIL_GENERATION = "Failed to read {0} for thumbnail generation."
 

Detailed Description

A Task that gets cached thumbnails and makes new ones as needed.

Definition at line 636 of file ImageUtils.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.coreutils.ImageUtils.GetThumbnailTask.GetThumbnailTask ( AbstractFile  file,
int  iconSize,
boolean  defaultOnFailure 
)
private

Member Function Documentation

javafx.scene.image.Image org.sleuthkit.autopsy.coreutils.ImageUtils.GetThumbnailTask.call ( ) throws Exception
protected
void org.sleuthkit.autopsy.coreutils.ImageUtils.ReadImageTaskBase.failed ( )
protectedinherited
void org.sleuthkit.autopsy.coreutils.ImageUtils.ReadImageTaskBase.imageComplete ( ImageReader  source)
inherited

Definition at line 932 of file ImageUtils.java.

void org.sleuthkit.autopsy.coreutils.ImageUtils.ReadImageTaskBase.imageProgress ( ImageReader  reader,
float  percentageDone 
)
inherited
void org.sleuthkit.autopsy.coreutils.ImageUtils.ReadImageTaskBase.imageStarted ( ImageReader  source,
int  imageIndex 
)
inherited

Definition at line 937 of file ImageUtils.java.

boolean org.sleuthkit.autopsy.coreutils.ImageUtils.ReadImageTaskBase.isCancelled ( )
inherited
void org.sleuthkit.autopsy.coreutils.ImageUtils.ReadImageTaskBase.readAborted ( ImageReader  source)
inherited

Definition at line 961 of file ImageUtils.java.

javafx.scene.image.Image org.sleuthkit.autopsy.coreutils.ImageUtils.ReadImageTaskBase.readImage ( ) throws IOException
protectedinherited
void org.sleuthkit.autopsy.coreutils.ImageUtils.GetThumbnailTask.saveThumbnail ( BufferedImage  thumbnail)
private

submit the thumbnail saving to another background thread.

Parameters
thumbnail

Definition at line 772 of file ImageUtils.java.

References org.sleuthkit.autopsy.coreutils.ImageUtils.GetThumbnailTask.cacheFile, and org.sleuthkit.autopsy.coreutils.ImageUtils.imageSaver.

Referenced by org.sleuthkit.autopsy.coreutils.ImageUtils.GetThumbnailTask.call().

void org.sleuthkit.autopsy.coreutils.ImageUtils.ReadImageTaskBase.sequenceComplete ( ImageReader  source)
inherited

Definition at line 945 of file ImageUtils.java.

void org.sleuthkit.autopsy.coreutils.ImageUtils.ReadImageTaskBase.sequenceStarted ( ImageReader  source,
int  minIndex 
)
inherited

Definition at line 941 of file ImageUtils.java.

void org.sleuthkit.autopsy.coreutils.ImageUtils.ReadImageTaskBase.succeeded ( )
protectedinherited
void org.sleuthkit.autopsy.coreutils.ImageUtils.ReadImageTaskBase.thumbnailComplete ( ImageReader  source)
inherited

Definition at line 957 of file ImageUtils.java.

void org.sleuthkit.autopsy.coreutils.ImageUtils.ReadImageTaskBase.thumbnailProgress ( ImageReader  source,
float  percentageDone 
)
inherited

Definition at line 953 of file ImageUtils.java.

void org.sleuthkit.autopsy.coreutils.ImageUtils.ReadImageTaskBase.thumbnailStarted ( ImageReader  source,
int  imageIndex,
int  thumbnailIndex 
)
inherited

Definition at line 949 of file ImageUtils.java.

Member Data Documentation

final File org.sleuthkit.autopsy.coreutils.ImageUtils.GetThumbnailTask.cacheFile
private
final boolean org.sleuthkit.autopsy.coreutils.ImageUtils.GetThumbnailTask.defaultOnFailure
private
final String org.sleuthkit.autopsy.coreutils.ImageUtils.GetThumbnailTask.FAILED_TO_READ_IMAGE_FOR_THUMBNAIL_GENERATION = "Failed to read {0} for thumbnail generation."
staticprivate

Definition at line 638 of file ImageUtils.java.

final int org.sleuthkit.autopsy.coreutils.ImageUtils.GetThumbnailTask.iconSize
private

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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.