Autopsy
4.8.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Static Public Member Functions | |
static void | findAndCopySQLiteMetaFile (AbstractFile sqliteFile) throws NoCurrentCaseException, TskCoreException, IOException |
static void | findAndCopySQLiteMetaFile (AbstractFile sqliteFile, String metaFileName) throws NoCurrentCaseException, TskCoreException, IOException |
static String | getUniqueTempDirectoryPath (AbstractFile file) throws NoCurrentCaseException |
static String | writeAbstractFileToLocalDisk (AbstractFile file) throws IOException, NoCurrentCaseException |
Private Member Functions | |
SqliteUtil () | |
Sqlite utility class. Find and copy metafiles, write sqlite abstract files to temp directory, and generate unique temp directory paths.
Definition at line 37 of file SqliteUtil.java.
|
private |
Definition at line 39 of file SqliteUtil.java.
|
static |
Overloaded implementation of findAndCopySQLiteMetaFile , automatically tries to copy -wal and -shm files without needing to know their existence.
sqliteFile | file which has -wal and -shm meta files |
NoCurrentCaseException | Case has been closed. |
TskCoreException | fileManager cannot find AbstractFile files. |
IOException | Issue during writing to file. |
Definition at line 56 of file SqliteUtil.java.
Referenced by org.sleuthkit.autopsy.keywordsearch.SqliteTextExtractor.SQLiteTableReader.SQLiteTableReader().
|
static |
Searches for a meta file associated with the give SQLite database. If found, it copies this file into the temp directory of the current case.
sqliteFile | file being processed |
metaFileName | name of meta file to look for |
NoCurrentCaseException | Case has been closed. |
TskCoreException | fileManager cannot find AbstractFile files. |
IOException | Issue during writing to file. |
Definition at line 75 of file SqliteUtil.java.
References org.sleuthkit.autopsy.casemodule.services.FileManager.findFiles(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), org.sleuthkit.autopsy.casemodule.services.Services.getFileManager(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), and org.sleuthkit.autopsy.coreutils.SqliteUtil.writeAbstractFileToLocalDisk().
|
static |
Generates a unique local disk path that resides in the temp directory of the current case.
file | The database abstract file |
Definition at line 126 of file SqliteUtil.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getTempDirectory().
Referenced by org.sleuthkit.autopsy.coreutils.SqliteUtil.writeAbstractFileToLocalDisk().
|
static |
Copies the file contents into a unique path in the current case temp directory.
file | AbstractFile from the data source |
IOException | Exception writing file contents |
NoCurrentCaseException | Current case closed during file copying |
Definition at line 105 of file SqliteUtil.java.
References org.sleuthkit.autopsy.coreutils.SqliteUtil.getUniqueTempDirectoryPath(), and org.sleuthkit.autopsy.datamodel.ContentUtils.writeToFile().
Referenced by org.sleuthkit.autopsy.coreutils.SqliteUtil.findAndCopySQLiteMetaFile(), and org.sleuthkit.autopsy.keywordsearch.SqliteTextExtractor.SQLiteTableReader.SQLiteTableReader().
Copyright © 2012-2018 Basis Technology. Generated on: Thu Oct 4 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.