Autopsy  4.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Static Public Member Functions | Static Protected Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.datamodel.DataConversion Class Reference

Static Public Member Functions

static String byteArrayToHex (byte[] array, int length, long arrayOffset, Font font)
 
static String byteArrayToHex (byte[] array, int length, long arrayOffset)
 

Static Protected Member Functions

static String charArrayToByte (char[] array)
 

Static Private Attributes

final static char[] hexArray = "0123456789ABCDEF".toCharArray()
 

Detailed Description

Helper methods for converting data.

Definition at line 28 of file DataConversion.java.

Member Function Documentation

static String org.sleuthkit.autopsy.datamodel.DataConversion.byteArrayToHex ( byte[]  array,
int  length,
long  arrayOffset,
Font  font 
)
static

Return the hex-dump layout of the passed in byte array. Deprecated because we don't need font

Parameters
arrayData to display
lengthAmount of data in array to display
arrayOffsetOffset of where data in array begins as part of a bigger file (used for arrayOffset column)
fontFont that will be used to display the text
Returns

Definition at line 45 of file DataConversion.java.

Referenced by org.sleuthkit.autopsy.corecomponents.DataContentViewerHex.setDataView().

static String org.sleuthkit.autopsy.datamodel.DataConversion.byteArrayToHex ( byte[]  array,
int  length,
long  arrayOffset 
)
static

Return the hex-dump layout of the passed in byte array.

Parameters
arrayData to display
lengthAmount of data in array to display
arrayOffsetOffset of where data in array begins as part of a bigger file (used for arrayOffset column)
Returns

Definition at line 59 of file DataConversion.java.

static String org.sleuthkit.autopsy.datamodel.DataConversion.charArrayToByte ( char[]  array)
staticprotected

Definition at line 129 of file DataConversion.java.

Member Data Documentation

final static char [] org.sleuthkit.autopsy.datamodel.DataConversion.hexArray = "0123456789ABCDEF".toCharArray()
staticprivate

Definition at line 30 of file DataConversion.java.


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

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.