Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder Class Reference

Public Member Functions

 Builder (AbstractFile file)
 
SQLiteTableReader build ()
 
Builder forAllBlobValues (Consumer< byte[]> action)
 
Builder forAllColumnNames (Consumer< String > action)
 
Builder forAllFloatValues (Consumer< Double > action)
 
Builder forAllIntegerValues (Consumer< Integer > action)
 
Builder forAllLongValues (Consumer< Long > action)
 
Builder forAllStringValues (Consumer< String > action)
 
Builder forAllTableValues (Consumer< Object > action)
 

Private Attributes

final AbstractFile file
 
Consumer< byte[]> forAllBlobValuesConsumer
 
Consumer< String > forAllColumnNamesConsumer
 
Consumer< Double > forAllFloatValuesConsumer
 
Consumer< Integer > forAllIntegerValuesConsumer
 
Consumer< Long > forAllLongValuesConsumer
 
Consumer< String > forAllStringValuesConsumer
 
Consumer< Object > forAllTableValuesConsumer
 

Detailed Description

Builder patten for configuring SQLiteTableReader instances.

Definition at line 59 of file SQLiteTableReader.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.Builder ( AbstractFile  file)

Creates a Builder for this abstract file.

Parameters
file

Definition at line 80 of file SQLiteTableReader.java.

References org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.file.

Member Function Documentation

SQLiteTableReader org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.build ( )

Creates a SQLiteTableReader instance given this Builder configuration.

Returns
SQLiteTableReader instance

Definition at line 190 of file SQLiteTableReader.java.

References org.sleuthkit.autopsy.coreutils.SQLiteTableReader.SQLiteTableReader().

Builder org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.forAllBlobValues ( Consumer< byte[]>  action)

Specify a function to do when encountering a database value that is of java type byte[] aka blob.

Parameters
actionConsumer of blobs
Returns
Builder reference

Definition at line 165 of file SQLiteTableReader.java.

Builder org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.forAllColumnNames ( Consumer< String >  action)

Specify a function to do on column names. Column names will be read from left to right.

Parameters
actionConsumer of column name strings
Returns
Builder reference

Definition at line 100 of file SQLiteTableReader.java.

Builder org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.forAllFloatValues ( Consumer< Double >  action)

Specify a function to do when encountering a database value that is of java type Double.

Parameters
actionConsumer of doubles
Returns
Builder reference

Definition at line 139 of file SQLiteTableReader.java.

Builder org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.forAllIntegerValues ( Consumer< Integer >  action)

Specify a function to do when encountering a database value that is of java type Integer.

Parameters
actionConsumer of integer
Returns
Builder reference

Definition at line 126 of file SQLiteTableReader.java.

Builder org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.forAllLongValues ( Consumer< Long >  action)

Specify a function to do when encountering a database value that is of java type Long.

Parameters
actionConsumer of longs
Returns
Builder reference

Definition at line 152 of file SQLiteTableReader.java.

Builder org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.forAllStringValues ( Consumer< String >  action)

Specify a function to do when encountering a database value that is of java type String.

Parameters
actionConsumer of strings
Returns
Builder reference

Definition at line 113 of file SQLiteTableReader.java.

Builder org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.forAllTableValues ( Consumer< Object >  action)

Specify a function to do when encountering any database value, regardless of type. This function only captures database values, not column names.

Parameters
actionConsumer of objects
Returns
Builder reference

Definition at line 179 of file SQLiteTableReader.java.

Member Data Documentation

final AbstractFile org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.file
private
Consumer<byte[]> org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.forAllBlobValuesConsumer
private
Consumer<String> org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.forAllColumnNamesConsumer
private
Consumer<Double> org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.forAllFloatValuesConsumer
private
Consumer<Integer> org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.forAllIntegerValuesConsumer
private
Consumer<Long> org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.forAllLongValuesConsumer
private
Consumer<String> org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.forAllStringValuesConsumer
private
Consumer<Object> org.sleuthkit.autopsy.coreutils.SQLiteTableReader.Builder.forAllTableValuesConsumer
private

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

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