19 package org.sleuthkit.datamodel;
21 import java.util.Collections;
22 import java.util.List;
89 long dataSourceObjectId,
97 long ctime,
long crtime,
long atime,
long mtime,
105 List<Attribute> fileAttributes) {
107 metaAddr, metaSeq, dirType, metaType, dirFlag, metaFlags, size, ctime, crtime, atime, mtime,
108 modes, uid, gid, md5Hash, sha256Hash, sha1Hash, knownState, parentPath, mimeType, extension,
109 ownerUid, osAccountObjId, collected, fileAttributes);
122 return visitor.
visit(
this);
135 return v.
visit(
this);
149 return super.toString(preserveState) +
"File [\t" +
"]\t";
192 @SuppressWarnings(
"deprecation")
198 long metaAddr,
int metaSeq,
202 long ctime,
long crtime,
long atime,
long mtime,
203 short modes,
int uid,
int gid,
204 String md5Hash,
FileKnown knownState, String parentPath) {
205 this(db, objId, db.getDataSourceObjectId(objId), fsObjId,
attrType,
attrId, name,
metaAddr,
metaSeq,
dirType,
metaType,
dirFlag,
metaFlags,
size, ctime, crtime, atime, mtime,
modes,
uid, gid,
md5Hash,
knownState,
parentPath, null);
258 @SuppressWarnings(
"deprecation")
261 TSK_FS_NAME_FLAG_ENUM dirFlag,
short metaFlags,
long size,
long ctime,
long crtime,
long atime,
long mtime,
262 short modes,
int uid,
int gid, String md5Hash,
FileKnown knownState, String parentPath, String mimeType) {
263 this(db, objId, dataSourceObjectId, fsObjId,
attrType, (int) attrId, name, metaAddr, metaSeq, dirType, metaType, dirFlag, metaFlags, size, ctime, crtime, atime, mtime, modes, uid, gid, md5Hash, null, null, knownState, parentPath, mimeType, null,
OsAccount.NO_OWNER_ID,
OsAccount.NO_ACCOUNT, Collections.emptyList());
321 @SuppressWarnings(
"deprecation")
322 File(SleuthkitCase db,
324 long dataSourceObjectId,
326 TSK_FS_ATTR_TYPE_ENUM attrType,
int attrId,
328 long metaAddr,
int metaSeq,
329 TSK_FS_NAME_TYPE_ENUM dirType, TSK_FS_META_TYPE_ENUM metaType,
330 TSK_FS_NAME_FLAG_ENUM dirFlag,
short metaFlags,
332 long ctime,
long crtime,
long atime,
long mtime,
333 short modes,
int uid,
int gid,
334 String md5Hash, String sha256Hash, String sha1Hash,
335 FileKnown knownState, String parentPath, String mimeType,
339 List<Attribute> fileAttributes) {
340 this(db, objId, dataSourceObjectId, fsObjId,
attrType,
attrId, name,
341 metaAddr,
metaSeq,
dirType,
metaType,
dirFlag,
metaFlags,
size, ctime, crtime, atime, mtime,
342 modes,
uid, gid,
md5Hash,
sha256Hash,
sha1Hash,
knownState,
parentPath, mimeType, extension,
343 ownerUid, osAccountObjId, null, fileAttributes);
FS
File that can be found in file system tree.
final TSK_FS_NAME_TYPE_ENUM dirType
final TskData.TSK_FS_ATTR_TYPE_ENUM attrType
TSK_FS_NAME_FLAG_ENUM dirFlag
Set< TSK_FS_META_FLAG_ENUM > metaFlags
final Set< TskData.TSK_FS_META_MODE_ENUM > modes
TskData.FileKnown knownState
final TSK_FS_META_TYPE_ENUM metaType
String toString(boolean preserveState)