19 package org.sleuthkit.datamodel;
21 import java.util.Collections;
22 import java.util.List;
82 long ctime,
long crtime,
long atime,
long mtime,
89 name, fileType, 0L, 0, dirType, metaType, dirFlag,
90 metaFlags, size, ctime, crtime, atime, mtime, (
short) 0, 0, 0, md5Hash, knownState, parentPath, mimeType);
95 setParentId(parentId);
97 super.setLocalFilePath(localPath,
true);
170 return v.
visit(
this);
182 public <T> T accept(SleuthkitItemVisitor<T> v) {
183 return v.visit(
this);
197 return super.toString(preserveState) +
"LocalFile [\t" +
"]\t";
232 @SuppressWarnings(
"deprecation")
240 long ctime,
long crtime,
long atime,
long mtime,
251 ctime, crtime, atime, mtime,
254 db.getDataSourceObjectId(objId),
299 long ctime,
long crtime,
long atime,
long mtime,
301 String parentPath, String localPath,
long parentId) {
302 this(
db,
objId,
name,
fileType,
dirType,
metaType,
dirFlag,
metaFlags,
size, ctime, crtime, atime, mtime,
md5Hash,
knownState,
parentPath,
localPath);
343 long ctime,
long crtime,
long atime,
long mtime,
345 String parentPath, String localPath,
long parentId) {
346 this(
db,
objId,
name,
TSK_DB_FILES_TYPE_ENUM.
LOCAL,
dirType,
metaType,
dirFlag,
metaFlags,
size, ctime, crtime, atime, mtime,
md5Hash,
knownState,
parentPath,
localPath);
List< Content > getChildren()
final TSK_FS_NAME_TYPE_ENUM dirType
final TSK_FS_NAME_FLAG_ENUM dirFlag
TskData.EncodingType encodingType
final TskData.TSK_DB_FILES_TYPE_ENUM fileType
String toString(boolean preserveState)
LOCAL
Local file that was added (not from a disk image)
final Set< TSK_FS_META_FLAG_ENUM > metaFlags
List< Long > getChildrenIds()
TskData.FileKnown knownState
SleuthkitCase getSleuthkitCase()
String localPath
local path as stored in db tsk_files_path, is relative to the db,
LocalFile(SleuthkitCase db, long objId, String name, TSK_FS_NAME_TYPE_ENUM dirType, TSK_FS_META_TYPE_ENUM metaType, TSK_FS_NAME_FLAG_ENUM dirFlag, short metaFlags, long size, long ctime, long crtime, long atime, long mtime, String md5Hash, FileKnown knownState, String parentPath, String localPath, long parentId)
DERIVED
File derived from a parent file (i.e. from ZIP)
LocalFile(SleuthkitCase db, long objId, String name, TSK_DB_FILES_TYPE_ENUM fileType, TSK_FS_NAME_TYPE_ENUM dirType, TSK_FS_META_TYPE_ENUM metaType, TSK_FS_NAME_FLAG_ENUM dirFlag, short metaFlags, long size, long ctime, long crtime, long atime, long mtime, String md5Hash, FileKnown knownState, String parentPath, String localPath, long parentId)
final TSK_FS_META_TYPE_ENUM metaType
static final long UNKNOWN_ID
List< TskFileRange > getRanges()