19 package org.sleuthkit.datamodel;
21 import java.util.Collections;
22 import java.util.List;
88 long ctime,
long crtime,
long atime,
long mtime,
91 long dataSourceObjectId,
96 Long osAccountObjId) {
98 name, fileType, 0L, 0, dirType, metaType, dirFlag,
99 metaFlags, size, ctime, crtime, atime, mtime, (
short) 0, 0, 0, md5Hash, sha256Hash, knownState, parentPath, mimeType, extension, ownerUid, osAccountObjId, Collections.emptyList());
104 setParentId(parentId);
106 super.setLocalFilePath(localPath);
107 setEncodingType(encodingType);
146 return visitor.
visit(
this);
159 public <T> T accept(SleuthkitItemVisitor<T> visitor) {
160 return visitor.visit(
this);
171 return super.toString(preserveState) +
"LocalFile [\t" +
"]\t";
206 @SuppressWarnings(
"deprecation")
214 long ctime,
long crtime,
long atime,
long mtime,
225 ctime, crtime, atime, mtime,
228 db.getDataSourceObjectId(objId),
273 long ctime,
long crtime,
long atime,
long mtime,
275 String parentPath, String localPath,
long parentId) {
276 this(db, objId, name,
fileType,
dirType,
metaType,
dirFlag,
metaFlags,
size, ctime, crtime, atime, mtime,
md5Hash,
knownState,
parentPath, localPath);
317 long ctime,
long crtime,
long atime,
long mtime,
319 String parentPath, String localPath,
long parentId) {
320 this(db, objId, name,
TSK_DB_FILES_TYPE_ENUM.
LOCAL,
dirType,
metaType,
dirFlag,
metaFlags,
size, ctime, crtime, atime, mtime,
md5Hash,
knownState,
parentPath, localPath);
final TSK_FS_NAME_TYPE_ENUM dirType
final TskData.TSK_DB_FILES_TYPE_ENUM fileType
String toString(boolean preserveState)
TSK_FS_NAME_FLAG_ENUM dirFlag
LOCAL
Local file that was added (not from a disk image)
Set< TSK_FS_META_FLAG_ENUM > metaFlags
TskData.FileKnown knownState
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)
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()