19 package org.sleuthkit.datamodel;
21 import java.util.Collections;
22 import java.util.List;
90 long ctime,
long crtime,
long atime,
long mtime,
94 long dataSourceObjectId,
99 Long osAccountObjId) {
101 name, fileType, 0L, 0, dirType, metaType, dirFlag,
102 metaFlags, size, ctime, crtime, atime, mtime, (
short) 0, 0, 0, md5Hash, sha256Hash, sha1Hash, knownState, parentPath, mimeType, extension, ownerUid, osAccountObjId,
TskData.
CollectedStatus.
UNKNOWN, Collections.emptyList());
107 setParentId(parentId);
109 super.setLocalFilePath(localPath);
110 setEncodingType(encodingType);
149 return visitor.
visit(
this);
162 public <T> T accept(SleuthkitItemVisitor<T> visitor) {
163 return visitor.visit(
this);
174 return super.toString(preserveState) +
"LocalFile [\t" +
"]\t";
209 @SuppressWarnings(
"deprecation")
217 long ctime,
long crtime,
long atime,
long mtime,
228 ctime, crtime, atime, mtime,
231 db.getDataSourceObjectId(objId),
276 long ctime,
long crtime,
long atime,
long mtime,
278 String parentPath, String localPath,
long parentId) {
279 this(db, objId, name,
fileType,
dirType,
metaType,
dirFlag,
metaFlags,
size, ctime, crtime, atime, mtime,
md5Hash,
knownState,
parentPath, localPath);
320 long ctime,
long crtime,
long atime,
long mtime,
322 String parentPath, String localPath,
long parentId) {
323 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()