|
Sleuth Kit Java Bindings (JNI) 4.14.0
Java bindings for using The Sleuth Kit
|
Inherits org.sleuthkit.datamodel.AbstractFile.
A representation of a local/logical file (e.g., on a user's machine) that has been added to a case.
Definition at line 34 of file LocalFile.java.
|
protected |
Constructs a representation of a local/logical file (e.g., on a user's machine) that has been added to the case database.
| db | The case database to which the file has been added. |
| objId | The object id of the file in the case database. |
| name | The name of the file. |
| fileType | The type of the file. |
| dirType | The type of the file, usually as reported in the name structure of the file system. May be set to TSK_FS_NAME_TYPE_ENUM.UNDEF. |
| metaType | The type of the file, usually as reported in the metadata structure of the file system. May be set to TSK_FS_META_TYPE_ENUM.TSK_FS_META_TYPE_UNDEF. |
| dirFlag | The allocated status of the file, usually as reported in the name structure of the file system. |
| metaFlags | The allocated status of the file, usually as reported in the metadata structure of the file system. |
| size | The size of the file. |
| ctime | The changed time of the file. |
| crtime | The created time of the file. |
| atime | The accessed time of the file. |
| mtime | The modified time of the file. |
| md5Hash | The MD5 hash of the file, null if not yet calculated. |
| knownState | The known state of the file from a hash database lookup, null if not yet looked up. |
| parentPath | The path of the parent of the file. |
| localPath | The absolute path of the file in secondary storage. |
Definition at line 210 of file LocalFile.java.
References org.sleuthkit.datamodel.AbstractFile.atime, org.sleuthkit.datamodel.AbstractFile.crtime, org.sleuthkit.datamodel.AbstractFile.ctime, org.sleuthkit.datamodel.AbstractFile.dirFlag, org.sleuthkit.datamodel.AbstractFile.dirType, org.sleuthkit.datamodel.AbstractFile.fileType, org.sleuthkit.datamodel.AbstractFile.knownState, org.sleuthkit.datamodel.AbstractFile.md5Hash, org.sleuthkit.datamodel.AbstractFile.metaFlags, org.sleuthkit.datamodel.AbstractFile.metaType, org.sleuthkit.datamodel.AbstractFile.mtime, org.sleuthkit.datamodel.TskData.EncodingType.NONE, org.sleuthkit.datamodel.AbstractFile.parentPath, org.sleuthkit.datamodel.AbstractFile.size, and org.sleuthkit.datamodel.AbstractContent.UNKNOWN_ID.
|
protected |
Constructs a representation of a local/logical file (e.g., on a user's machine) that has been added to the case database.
| db | The case database to which the file has been added. |
| objId | The object id of the file in the case database. |
| name | The name of the file. |
| fileType | The type of the file. |
| dirType | The type of the file, usually as reported in the name structure of the file system. May be set to TSK_FS_NAME_TYPE_ENUM.UNDEF. |
| metaType | The type of the file, usually as reported in the metadata structure of the file system. May be set to TSK_FS_META_TYPE_ENUM.TSK_FS_META_TYPE_UNDEF. |
| dirFlag | The allocated status of the file, usually as reported in the name structure of the file system. |
| metaFlags | The allocated status of the file, usually as reported in the metadata structure of the file system. |
| size | The size of the file. |
| ctime | The changed time of the file. |
| crtime | The created time of the file. |
| atime | The accessed time of the file. |
| mtime | The modified time of the file. |
| md5Hash | The MD5 hash of the file, null if not yet calculated. |
| knownState | The known state of the file from a hash database lookup, null if not yet looked up. |
| parentPath | The path of the parent of the file. |
| localPath | The absolute path of the file in secondary storage. |
| parentId | The object id of parent of the file. |
Definition at line 269 of file LocalFile.java.
References org.sleuthkit.datamodel.AbstractFile.atime, org.sleuthkit.datamodel.AbstractFile.crtime, org.sleuthkit.datamodel.AbstractFile.ctime, org.sleuthkit.datamodel.AbstractFile.dirFlag, org.sleuthkit.datamodel.AbstractFile.dirType, org.sleuthkit.datamodel.AbstractFile.fileType, org.sleuthkit.datamodel.AbstractFile.knownState, org.sleuthkit.datamodel.AbstractFile.md5Hash, org.sleuthkit.datamodel.AbstractFile.metaFlags, org.sleuthkit.datamodel.AbstractFile.metaType, org.sleuthkit.datamodel.AbstractFile.mtime, org.sleuthkit.datamodel.AbstractContent.parentId, org.sleuthkit.datamodel.AbstractFile.parentPath, and org.sleuthkit.datamodel.AbstractFile.size.
|
protected |
Constructs a representation of a local/logical file (e.g., on a user's machine) that has been added to the case.
| db | The case database to which the file has been added. |
| objId | The object id of the file in the case database. |
| name | The name of the file. |
| dirType | The type of the file, usually as reported in the name structure of the file system. May be set to TSK_FS_NAME_TYPE_ENUM.UNDEF. |
| metaType | The type of the file, usually as reported in the metadata structure of the file system. May be set to TSK_FS_META_TYPE_ENUM.TSK_FS_META_TYPE_UNDEF. |
| dirFlag | The allocated status of the file, usually as reported in the name structure of the file system. |
| metaFlags | The allocated status of the file, usually as reported in the metadata structure of the file system. |
| size | The size of the file. |
| ctime | The changed time of the file. |
| crtime | The created time of the file. |
| atime | The accessed time of the file. |
| mtime | The modified time of the file. |
| md5Hash | The MD5 hash of the file, null if not yet calculated. |
| knownState | The known state of the file from a hash database lookup, null if not yet looked up. |
| parentPath | The path of the parent of the file. |
| localPath | The absolute path of the file in secondary storage. |
| parentId | The object id of parent of the file. |
Definition at line 314 of file LocalFile.java.
References org.sleuthkit.datamodel.AbstractFile.atime, org.sleuthkit.datamodel.AbstractFile.crtime, org.sleuthkit.datamodel.AbstractFile.ctime, org.sleuthkit.datamodel.AbstractFile.dirFlag, org.sleuthkit.datamodel.AbstractFile.dirType, org.sleuthkit.datamodel.AbstractFile.knownState, org.sleuthkit.datamodel.TskData.TSK_DB_FILES_TYPE_ENUM.LOCAL, org.sleuthkit.datamodel.AbstractFile.md5Hash, org.sleuthkit.datamodel.AbstractFile.metaFlags, org.sleuthkit.datamodel.AbstractFile.metaType, org.sleuthkit.datamodel.AbstractFile.mtime, org.sleuthkit.datamodel.AbstractContent.parentId, org.sleuthkit.datamodel.AbstractFile.parentPath, and org.sleuthkit.datamodel.AbstractFile.size.
| List< TskFileRange > org.sleuthkit.datamodel.LocalFile.getRanges | ( | ) | throws TskCoreException |
Gets the extents in terms of byte addresses of this local file within its data source, an empty list.
| TskCoreException | if there was an error querying the case database. |
Reimplemented from org.sleuthkit.datamodel.AbstractFile.
Definition at line 123 of file LocalFile.java.
| boolean org.sleuthkit.datamodel.LocalFile.isRoot | ( | ) |
Indicates whether or not this local file is the root of a file system, always returns false.
Reimplemented from org.sleuthkit.datamodel.AbstractFile.
Definition at line 134 of file LocalFile.java.
| String org.sleuthkit.datamodel.LocalFile.toString | ( | boolean | preserveState | ) |
Provides a string representation of this local file.
| preserveState | True if state should be included in the string representation of this object. |
Reimplemented from org.sleuthkit.datamodel.AbstractFile.
Definition at line 173 of file LocalFile.java.
Copyright © 2011-2024 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.