Sleuth Kit Java Bindings (JNI)  4.12.1
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.FileManager Class Reference

Public Member Functions

List< AbstractFilefindFilesExactName (long parentId, String name) throws TskCoreException
 
List< AbstractFilefindFilesExactNameExactPath (Content dataSource, String name, String path) throws TskCoreException
 

Detailed Description

Utility class for file-based database queries.

Definition at line 31 of file FileManager.java.

Member Function Documentation

List<AbstractFile> org.sleuthkit.datamodel.FileManager.findFilesExactName ( long  parentId,
String  name 
) throws TskCoreException

Find all files with the exact given name and parentId.

Parameters
parentIdId of the parent folder to search.
nameExact file name to match.
Returns
A list of matching files.
Exceptions
TskCoreException

Definition at line 54 of file FileManager.java.

References org.sleuthkit.datamodel.SleuthkitCase.acquireSingleUserCaseReadLock(), and org.sleuthkit.datamodel.SleuthkitCase.releaseSingleUserCaseReadLock().

List<AbstractFile> org.sleuthkit.datamodel.FileManager.findFilesExactNameExactPath ( Content  dataSource,
String  name,
String  path 
) throws TskCoreException

Find all files with the exact given name and exact parent path.

Parameters
dataSourceThe data source to search within.
nameExact file name to match.
pathExact parent path.
Returns
A list of matching files.
Exceptions
TskCoreException

Definition at line 96 of file FileManager.java.

References org.sleuthkit.datamodel.SleuthkitCase.acquireSingleUserCaseReadLock(), and org.sleuthkit.datamodel.SleuthkitCase.releaseSingleUserCaseReadLock().


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

Copyright © 2011-2021 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.