Sleuth Kit Java Bindings (JNI)  4.11.0
Java bindings for using The Sleuth Kit
org.sleuthkit.datamodel.TskFileRange Class Reference

Public Member Functions

 TskFileRange (long byteStart, long byteLen, long sequence)
 
long getByteLen ()
 
long getByteStart ()
 
long getSequence ()
 

Detailed Description

An object representation of an entry in tsk_file_layout table Any file can have one or more file ranges defined to specify physical file layout. This is especially useful for non-fs "virtual" files created for the purpose of data analysis

Definition at line 27 of file TskFileRange.java.

Constructor & Destructor Documentation

org.sleuthkit.datamodel.TskFileRange.TskFileRange ( long  byteStart,
long  byteLen,
long  sequence 
)

Create file range to map the database object

Parameters
byteStartbyte start with respect to the image
byteLenlength of the range in bytes
sequencesequence order of the range for the file

Definition at line 40 of file TskFileRange.java.

Member Function Documentation

long org.sleuthkit.datamodel.TskFileRange.getByteLen ( )

Get the byte length of the range

Returns
length in bytes

Definition at line 60 of file TskFileRange.java.

Referenced by org.sleuthkit.datamodel.AbstractFile.convertToImgRanges().

long org.sleuthkit.datamodel.TskFileRange.getByteStart ( )

Get start byte of the range, with respect to the image

Returns
start bye of the range

Definition at line 51 of file TskFileRange.java.

Referenced by org.sleuthkit.datamodel.AbstractFile.convertToImgRanges().

long org.sleuthkit.datamodel.TskFileRange.getSequence ( )

Get sequence of this range defining ordering of this range with respect to other ranges for the file

Returns
sequence number of this range

Definition at line 70 of file TskFileRange.java.


The documentation for this class was generated from the following file:

Copyright © 2011-2021 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.