Autopsy  4.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | List of all members
org.sleuthkit.autopsy.datamodel.KeyValue Class Reference

Inherits org.sleuthkit.autopsy.datamodel.StringContent.

Inherited by org.sleuthkit.autopsy.keywordsearch.KeywordSearchResultFactory.KeyValueQueryContent.

Public Member Functions

 KeyValue (String name, Map< String, Object > map, int id)
 
 KeyValue (String name, int id)
 
void addMap (Map< String, Object > inMap)
 
int getId ()
 
Map< String, Object > getMap ()
 
String getName ()
 
String getString ()
 

Detailed Description

An object that holds a map of keys and values. Also has a default StringContent implementation so that the string viewer can show it's content.

Definition at line 27 of file KeyValue.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.KeyValue.KeyValue ( String  name,
Map< String, Object >  map,
int  id 
)
Parameters
namename of the key value object that the key/value map is associated with
mapKey to value map. Must iterate it keys and values in a consistent order (use of LinkedHashMap is recommended)
idCaller-defined ID. Can represent the type of the thing.

Definition at line 40 of file KeyValue.java.

org.sleuthkit.autopsy.datamodel.KeyValue.KeyValue ( String  name,
int  id 
)
Parameters
namename of the key value object that the key/value map is associated with
idCaller-defined ID. Can represent the type of the thing.

Definition at line 51 of file KeyValue.java.

Member Function Documentation

void org.sleuthkit.autopsy.datamodel.KeyValue.addMap ( Map< String, Object >  inMap)

Add a map to an already defined object.

Parameters
inMapKey/value map

Definition at line 74 of file KeyValue.java.

int org.sleuthkit.autopsy.datamodel.KeyValue.getId ( )

Definition at line 57 of file KeyValue.java.

Map<String, Object> org.sleuthkit.autopsy.datamodel.KeyValue.getMap ( )
String org.sleuthkit.autopsy.datamodel.KeyValue.getName ( )
String org.sleuthkit.autopsy.datamodel.KeyValue.getString ( )

Implements org.sleuthkit.autopsy.datamodel.StringContent.

Definition at line 79 of file KeyValue.java.


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

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.