19 package org.sleuthkit.datamodel;
21 import java.util.Collections;
22 import java.util.List;
85 long ctime,
long crtime,
long atime,
long mtime,
88 long dataSourceObjectId,
93 name, fileType, 0L, 0, dirType, metaType, dirFlag,
94 metaFlags, size, ctime, crtime, atime, mtime, (
short) 0, 0, 0, md5Hash, knownState, parentPath, mimeType, extension);
99 setParentId(parentId);
101 super.setLocalFilePath(localPath);
102 setEncodingType(encodingType);
141 return visitor.
visit(
this);
154 public <T> T accept(SleuthkitItemVisitor<T> visitor) {
155 return visitor.visit(
this);
166 return super.toString(preserveState) +
"LocalFile [\t" +
"]\t";
201 @SuppressWarnings(
"deprecation")
209 long ctime,
long crtime,
long atime,
long mtime,
220 ctime, crtime, atime, mtime,
223 db.getDataSourceObjectId(objId),
268 long ctime,
long crtime,
long atime,
long mtime,
270 String parentPath, String localPath,
long parentId) {
271 this(db, objId, name,
fileType,
dirType,
metaType,
dirFlag,
metaFlags,
size, ctime, crtime, atime, mtime,
md5Hash,
knownState,
parentPath, localPath);
312 long ctime,
long crtime,
long atime,
long mtime,
314 String parentPath, String localPath,
long parentId) {
315 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 TSK_FS_NAME_FLAG_ENUM dirFlag
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
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()