Autopsy  4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.modules.hashdatabase.HashkeeperHashSetParser Class Reference

Inherits org.sleuthkit.autopsy.modules.hashdatabase.HashSetParser.

Public Member Functions

final void close ()
 
boolean doneReading ()
 
long getExpectedHashCount ()
 
String getNextHash () throws TskCoreException
 

Private Attributes

CSVParser csvParser
 
final long expectedHashCount
 
String filename
 
final int hashColumnIndex
 
InputStreamReader inputStreamReader
 
final Iterator< CSVRecord > recordIterator
 

Detailed Description

Parser for Hashkeeper hash sets (*.hsh)

Definition at line 36 of file HashkeeperHashSetParser.java.

Member Function Documentation

final void org.sleuthkit.autopsy.modules.hashdatabase.HashkeeperHashSetParser.close ( )

Closes the import file

Definition at line 122 of file HashkeeperHashSetParser.java.

References org.sleuthkit.autopsy.coreutils.Logger.getLogger().

boolean org.sleuthkit.autopsy.modules.hashdatabase.HashkeeperHashSetParser.doneReading ( )

Check if there are more hashes to read

Returns
true if we've read all expected hash values, false otherwise

Definition at line 103 of file HashkeeperHashSetParser.java.

long org.sleuthkit.autopsy.modules.hashdatabase.HashkeeperHashSetParser.getExpectedHashCount ( )

Get the expected number of hashes in the file. This number can be an estimate.

Returns
The expected hash count

Definition at line 114 of file HashkeeperHashSetParser.java.

References org.sleuthkit.autopsy.modules.hashdatabase.HashkeeperHashSetParser.expectedHashCount.

String org.sleuthkit.autopsy.modules.hashdatabase.HashkeeperHashSetParser.getNextHash ( ) throws TskCoreException

Get the next hash to import

Returns
The hash as a string, or null if the end of file was reached without error
Exceptions
TskCoreException

Definition at line 83 of file HashkeeperHashSetParser.java.

Member Data Documentation

CSVParser org.sleuthkit.autopsy.modules.hashdatabase.HashkeeperHashSetParser.csvParser
private

Definition at line 40 of file HashkeeperHashSetParser.java.

final long org.sleuthkit.autopsy.modules.hashdatabase.HashkeeperHashSetParser.expectedHashCount
private
String org.sleuthkit.autopsy.modules.hashdatabase.HashkeeperHashSetParser.filename
private

Definition at line 38 of file HashkeeperHashSetParser.java.

final int org.sleuthkit.autopsy.modules.hashdatabase.HashkeeperHashSetParser.hashColumnIndex
private

Definition at line 43 of file HashkeeperHashSetParser.java.

InputStreamReader org.sleuthkit.autopsy.modules.hashdatabase.HashkeeperHashSetParser.inputStreamReader
private

Definition at line 39 of file HashkeeperHashSetParser.java.

final Iterator<CSVRecord> org.sleuthkit.autopsy.modules.hashdatabase.HashkeeperHashSetParser.recordIterator
private

Definition at line 42 of file HashkeeperHashSetParser.java.


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

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