Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Public Attributes | Private Attributes | List of all members
org.sleuthkit.autopsy.discovery.search.SearchData.Type Enum Reference

Public Member Functions

 Type (int value, String displayName, Collection< String > mediaTypes, Collection< BlackboardArtifact.ARTIFACT_TYPE > artifactTypes)
 
Collection< BlackboardArtifact.ARTIFACT_TYPE > getArtifactTypes ()
 
Collection< String > getMediaTypes ()
 
int getRanking ()
 
String toString ()
 

Public Attributes

 AUDIO =(1, Bundle.SearchData_FileType_Audio_displayName(), FileTypeUtils.FileTypeCategory.AUDIO.getMediaTypes(), new ArrayList<>())
 
 DOCUMENT =(4, Bundle.SearchData_FileType_Documents_displayName(), DOCUMENT_MIME_TYPES, new ArrayList<>())
 
 DOMAIN =(6, Bundle.SearchData_AttributeType_Domain_displayName(), new ArrayList<>(), DOMAIN_ARTIFACT_TYPES)
 
 EXECUTABLE =(3, Bundle.SearchData_FileType_Executables_displayName(), FileTypeUtils.FileTypeCategory.EXECUTABLE.getMediaTypes(), new ArrayList<>())
 
 IMAGE =(0, Bundle.SearchData_FileType_Image_displayName(), FileTypeUtils.FileTypeCategory.IMAGE.getMediaTypes(), new ArrayList<>())
 
 OTHER =(5, Bundle.SearchData_FileType_Other_displayName(), new ArrayList<>(), new ArrayList<>())
 
 VIDEO =(2, Bundle.SearchData_FileType_Video_displayName(), FileTypeUtils.FileTypeCategory.VIDEO.getMediaTypes(), new ArrayList<>())
 

Private Attributes

final Collection< BlackboardArtifact.ARTIFACT_TYPE > artifactTypes
 
final String displayName
 
final Collection< String > mediaTypes
 
final int ranking
 

Detailed Description

Enum representing the type.

Definition at line 453 of file SearchData.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.discovery.search.SearchData.Type.Type ( int  value,
String  displayName,
Collection< String >  mediaTypes,
Collection< BlackboardArtifact.ARTIFACT_TYPE >  artifactTypes 
)

Construct a new Type enum value.

Parameters
valueInteger value for comparison.
displayNameThe display name for this type.
mediaTypesThe list of mime types this type is defined by if it is file type.
artifactTypesThe list of artifact types this type is defined by if it is an attribute type.

Definition at line 478 of file SearchData.java.

Member Function Documentation

Collection<BlackboardArtifact.ARTIFACT_TYPE> org.sleuthkit.autopsy.discovery.search.SearchData.Type.getArtifactTypes ( )

Get the BlackboardArtifact types matching this category.

Returns
Collection of BlackboardArtifact.ARTIFACT_TYPE objects.

Definition at line 499 of file SearchData.java.

Collection<String> org.sleuthkit.autopsy.discovery.search.SearchData.Type.getMediaTypes ( )

Get the MIME types matching this category.

Returns
Collection of MIME type strings

Definition at line 490 of file SearchData.java.

int org.sleuthkit.autopsy.discovery.search.SearchData.Type.getRanking ( )

Get the rank for sorting.

Returns
the rank (lower should be displayed first)

Definition at line 513 of file SearchData.java.

String org.sleuthkit.autopsy.discovery.search.SearchData.Type.toString ( )

Definition at line 504 of file SearchData.java.

Member Data Documentation

final Collection<BlackboardArtifact.ARTIFACT_TYPE> org.sleuthkit.autopsy.discovery.search.SearchData.Type.artifactTypes
private

Definition at line 466 of file SearchData.java.

org.sleuthkit.autopsy.discovery.search.SearchData.Type.AUDIO =(1, Bundle.SearchData_FileType_Audio_displayName(), FileTypeUtils.FileTypeCategory.AUDIO.getMediaTypes(), new ArrayList<>())

Definition at line 456 of file SearchData.java.

final String org.sleuthkit.autopsy.discovery.search.SearchData.Type.displayName
private

Definition at line 464 of file SearchData.java.

org.sleuthkit.autopsy.discovery.search.SearchData.Type.DOCUMENT =(4, Bundle.SearchData_FileType_Documents_displayName(), DOCUMENT_MIME_TYPES, new ArrayList<>())

Definition at line 459 of file SearchData.java.

org.sleuthkit.autopsy.discovery.search.SearchData.Type.DOMAIN =(6, Bundle.SearchData_AttributeType_Domain_displayName(), new ArrayList<>(), DOMAIN_ARTIFACT_TYPES)

Definition at line 460 of file SearchData.java.

Referenced by org.sleuthkit.autopsy.discovery.search.SearchFiltering.NotableFilter.applyAlternateFilter(), org.sleuthkit.autopsy.discovery.search.DiscoveryAttributes.createSetNameClause(), org.sleuthkit.autopsy.discovery.search.DomainSearch.getAllArtifactsForDomain(), org.sleuthkit.autopsy.discovery.search.ResultsSorter.getDefaultComparator(), org.sleuthkit.autopsy.discovery.search.ResultsSorter.getDomainNameComparator(), org.sleuthkit.autopsy.discovery.search.ResultsSorter.getFileNameComparator(), org.sleuthkit.autopsy.discovery.search.ResultsSorter.getFileSizeComparator(), org.sleuthkit.autopsy.discovery.search.ResultsSorter.getKeywordListNameComparator(), org.sleuthkit.autopsy.discovery.search.ResultsSorter.getLastActivityDateTimeComparator(), org.sleuthkit.autopsy.discovery.search.ResultsSorter.getMIMETypeComparator(), org.sleuthkit.autopsy.discovery.search.ResultsSorter.getPageViewComparator(), org.sleuthkit.autopsy.discovery.search.ResultsSorter.getParentPathComparator(), org.sleuthkit.autopsy.discovery.search.ResultDomain.getType(), org.sleuthkit.autopsy.discovery.search.ResultsSorter.getWebDownloadsComparator(), org.sleuthkit.autopsy.discovery.search.DiscoveryAttributes.KeywordListAttribute.SetKeywordListNamesCallback.process(), org.sleuthkit.autopsy.discovery.search.DiscoveryAttributes.HashHitsAttribute.HashSetNamesCallback.process(), org.sleuthkit.autopsy.discovery.search.DiscoveryAttributes.InterestingItemAttribute.InterestingFileSetNamesCallback.process(), and org.sleuthkit.autopsy.discovery.search.DiscoveryAttributes.ObjectDetectedAttribute.ObjectDetectedNamesCallback.process().

org.sleuthkit.autopsy.discovery.search.SearchData.Type.EXECUTABLE =(3, Bundle.SearchData_FileType_Executables_displayName(), FileTypeUtils.FileTypeCategory.EXECUTABLE.getMediaTypes(), new ArrayList<>())

Definition at line 458 of file SearchData.java.

org.sleuthkit.autopsy.discovery.search.SearchData.Type.IMAGE =(0, Bundle.SearchData_FileType_Image_displayName(), FileTypeUtils.FileTypeCategory.IMAGE.getMediaTypes(), new ArrayList<>())

Definition at line 455 of file SearchData.java.

final Collection<String> org.sleuthkit.autopsy.discovery.search.SearchData.Type.mediaTypes
private

Definition at line 465 of file SearchData.java.

org.sleuthkit.autopsy.discovery.search.SearchData.Type.OTHER =(5, Bundle.SearchData_FileType_Other_displayName(), new ArrayList<>(), new ArrayList<>())
final int org.sleuthkit.autopsy.discovery.search.SearchData.Type.ranking
private

Definition at line 463 of file SearchData.java.

org.sleuthkit.autopsy.discovery.search.SearchData.Type.VIDEO =(2, Bundle.SearchData_FileType_Video_displayName(), FileTypeUtils.FileTypeCategory.VIDEO.getMediaTypes(), new ArrayList<>())

Definition at line 457 of file SearchData.java.


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

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