Sleuth Kit Java Bindings (JNI)
4.12.1
Java bindings for using The Sleuth Kit
|
Inherited by org.sleuthkit.datamodel.Attribute, org.sleuthkit.datamodel.BlackboardAttribute, and org.sleuthkit.datamodel.OsAccount.OsAccountAttribute.
Public Member Functions | |
AbstractAttribute (BlackboardAttribute.Type attributeType, int valueInt) | |
AbstractAttribute (BlackboardAttribute.Type attributeType, long valueLong) | |
AbstractAttribute (BlackboardAttribute.Type attributeType, double valueDouble) | |
AbstractAttribute (BlackboardAttribute.Type attributeType, String valueString) | |
AbstractAttribute (BlackboardAttribute.Type attributeType, byte[] valueBytes) | |
BlackboardAttribute.Type | getAttributeType () |
String | getDisplayString () |
byte[] | getValueBytes () |
double | getValueDouble () |
int | getValueInt () |
long | getValueLong () |
String | getValueString () |
BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE | getValueType () |
An abstract base class for attributes as name-value pairs with type safety. The attribute type field indicates which one of the value fields is valid.
Definition at line 28 of file AbstractAttribute.java.
org.sleuthkit.datamodel.AbstractAttribute.AbstractAttribute | ( | BlackboardAttribute.Type | attributeType, |
int | valueInt | ||
) |
Constructs an attribute with an integer value.
attributeType | The attribute type. |
valueInt | The attribute value. |
IllegalArgumentException | If the value type of the specified attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.INTEGER. |
Definition at line 52 of file AbstractAttribute.java.
References org.sleuthkit.datamodel.AbstractAttribute.getValueType(), and org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.INTEGER.
org.sleuthkit.datamodel.AbstractAttribute.AbstractAttribute | ( | BlackboardAttribute.Type | attributeType, |
long | valueLong | ||
) |
Constructs an attribute with a long/datetime value.
attributeType | The attribute type. |
valueLong | The attribute value. |
IllegalArgumentException | If the value type of the specified standard attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.LONG or TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DATETIME. |
Definition at line 76 of file AbstractAttribute.java.
References org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DATETIME, org.sleuthkit.datamodel.AbstractAttribute.getValueType(), and org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.LONG.
org.sleuthkit.datamodel.AbstractAttribute.AbstractAttribute | ( | BlackboardAttribute.Type | attributeType, |
double | valueDouble | ||
) |
Constructs an attribute with a double value.
attributeType | The attribute type. |
valueDouble | The attribute value. |
IllegalArgumentException | If the value type of the specified attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DOUBLE. |
Definition at line 99 of file AbstractAttribute.java.
References org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DOUBLE, and org.sleuthkit.datamodel.AbstractAttribute.getValueType().
org.sleuthkit.datamodel.AbstractAttribute.AbstractAttribute | ( | BlackboardAttribute.Type | attributeType, |
String | valueString | ||
) |
Constructs an attribute with a string value.
attributeType | The attribute type. |
valueString | The attribute value. |
IllegalArgumentException | If the value type of the specified attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING. |
Definition at line 121 of file AbstractAttribute.java.
References org.sleuthkit.datamodel.AbstractAttribute.getValueType(), org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.JSON, and org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING.
org.sleuthkit.datamodel.AbstractAttribute.AbstractAttribute | ( | BlackboardAttribute.Type | attributeType, |
byte[] | valueBytes | ||
) |
Constructs an attribute with a byte array value.
attributeType | The attribute type. |
valueBytes | The attribute value. |
IllegalArgumentException | If the value type of the specified attribute type is not TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.BYTE. |
Definition at line 148 of file AbstractAttribute.java.
References org.sleuthkit.datamodel.BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.BYTE, and org.sleuthkit.datamodel.AbstractAttribute.getValueType().
BlackboardAttribute.Type org.sleuthkit.datamodel.AbstractAttribute.getAttributeType | ( | ) |
Gets the type of this attribute.
Definition at line 237 of file AbstractAttribute.java.
Referenced by org.sleuthkit.datamodel.BlackboardAttribute.getAttributeTypeDisplayName(), org.sleuthkit.datamodel.BlackboardAttribute.getAttributeTypeID(), org.sleuthkit.datamodel.BlackboardAttribute.getAttributeTypeName(), org.sleuthkit.datamodel.BlackboardAttribute.getDisplayString(), org.sleuthkit.datamodel.BlackboardArtifact.getShortDescription(), org.sleuthkit.datamodel.Attribute.hashCode(), org.sleuthkit.datamodel.BlackboardAttribute.hashCode(), org.sleuthkit.datamodel.Attribute.toString(), and org.sleuthkit.datamodel.BlackboardAttribute.toString().
String org.sleuthkit.datamodel.AbstractAttribute.getDisplayString | ( | ) |
Gets the attribute value as a string, formatted as required.
Definition at line 203 of file AbstractAttribute.java.
References org.sleuthkit.datamodel.TimeUtilities.epochToTime(), org.sleuthkit.datamodel.AbstractAttribute.getValueBytes(), org.sleuthkit.datamodel.AbstractAttribute.getValueDouble(), org.sleuthkit.datamodel.AbstractAttribute.getValueInt(), org.sleuthkit.datamodel.AbstractAttribute.getValueLong(), org.sleuthkit.datamodel.AbstractAttribute.getValueString(), org.sleuthkit.datamodel.AbstractAttribute.getValueType(), and org.sleuthkit.datamodel.BlackboardAttribute.ATTRIBUTE_TYPE.TSK_READ_STATUS.
byte [] org.sleuthkit.datamodel.AbstractAttribute.getValueBytes | ( | ) |
Gets the value of this attribute. The value is only valid if the attribute value type is TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.BYTE.
Definition at line 297 of file AbstractAttribute.java.
Referenced by org.sleuthkit.datamodel.AbstractAttribute.getDisplayString(), org.sleuthkit.datamodel.Attribute.hashCode(), org.sleuthkit.datamodel.BlackboardAttribute.hashCode(), org.sleuthkit.datamodel.Attribute.toString(), and org.sleuthkit.datamodel.BlackboardAttribute.toString().
double org.sleuthkit.datamodel.AbstractAttribute.getValueDouble | ( | ) |
Gets the value of this attribute. The value is only valid if the attribute value type is TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.DOUBLE.
Definition at line 276 of file AbstractAttribute.java.
Referenced by org.sleuthkit.datamodel.AbstractAttribute.getDisplayString(), org.sleuthkit.datamodel.Attribute.hashCode(), org.sleuthkit.datamodel.BlackboardAttribute.hashCode(), org.sleuthkit.datamodel.Attribute.toString(), and org.sleuthkit.datamodel.BlackboardAttribute.toString().
int org.sleuthkit.datamodel.AbstractAttribute.getValueInt | ( | ) |
Gets the value of this attribute. The value is only valid if the attribute value type is TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.INTEGER.
Definition at line 256 of file AbstractAttribute.java.
Referenced by org.sleuthkit.datamodel.AbstractAttribute.getDisplayString(), org.sleuthkit.datamodel.Attribute.hashCode(), org.sleuthkit.datamodel.BlackboardAttribute.hashCode(), org.sleuthkit.datamodel.Attribute.toString(), and org.sleuthkit.datamodel.BlackboardAttribute.toString().
long org.sleuthkit.datamodel.AbstractAttribute.getValueLong | ( | ) |
Gets the value of this attribute. The value is only valid if the attribute value type is TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.LONG.
Definition at line 266 of file AbstractAttribute.java.
Referenced by org.sleuthkit.datamodel.AbstractAttribute.getDisplayString(), org.sleuthkit.datamodel.BlackboardAttribute.getDisplayString(), org.sleuthkit.datamodel.Attribute.hashCode(), org.sleuthkit.datamodel.BlackboardAttribute.hashCode(), org.sleuthkit.datamodel.Attribute.toString(), and org.sleuthkit.datamodel.BlackboardAttribute.toString().
String org.sleuthkit.datamodel.AbstractAttribute.getValueString | ( | ) |
Gets the value of this attribute. The value is only valid if the attribute value type is TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.STRING or TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE.JSON.
Definition at line 287 of file AbstractAttribute.java.
Referenced by org.sleuthkit.datamodel.AbstractAttribute.getDisplayString(), org.sleuthkit.datamodel.AbstractContent.getHashSetNames(), org.sleuthkit.datamodel.Attribute.hashCode(), org.sleuthkit.datamodel.BlackboardAttribute.hashCode(), org.sleuthkit.datamodel.Attribute.toString(), and org.sleuthkit.datamodel.BlackboardAttribute.toString().
BlackboardAttribute.TSK_BLACKBOARD_ATTRIBUTE_VALUE_TYPE org.sleuthkit.datamodel.AbstractAttribute.getValueType | ( | ) |
Gets the value type of this attribute.
Definition at line 246 of file AbstractAttribute.java.
References org.sleuthkit.datamodel.AbstractAttribute.getValueType().
Referenced by org.sleuthkit.datamodel.AbstractAttribute.AbstractAttribute(), org.sleuthkit.datamodel.AbstractAttribute.getDisplayString(), org.sleuthkit.datamodel.BlackboardAttribute.getDisplayString(), and org.sleuthkit.datamodel.AbstractAttribute.getValueType().
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.