Sleuth Kit Java Bindings (JNI)
4.12.1
Java bindings for using The Sleuth Kit
|
Inherits org.sleuthkit.datamodel.AbstractAttribute.
Public Member Functions | |
Attribute (BlackboardAttribute.Type attributeType, int valueInt) throws IllegalArgumentException | |
Attribute (BlackboardAttribute.Type attributeType, long valueLong) throws IllegalArgumentException | |
Attribute (BlackboardAttribute.Type attributeType, double valueDouble) throws IllegalArgumentException | |
Attribute (BlackboardAttribute.Type attributeType, String valueString) throws IllegalArgumentException | |
Attribute (BlackboardAttribute.Type attributeType, byte[] valueBytes) throws IllegalArgumentException | |
boolean | equals (Object that) |
final long | getAttributeParentId () |
long | getId () |
int | hashCode () |
String | toString () |
Public Member Functions inherited from org.sleuthkit.datamodel.AbstractAttribute | |
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 () |
This is a concrete implementation of a simple Attribute Type.
Definition at line 28 of file Attribute.java.
org.sleuthkit.datamodel.Attribute.Attribute | ( | BlackboardAttribute.Type | attributeType, |
int | valueInt | ||
) | throws IllegalArgumentException |
Constructs an attribute with an integer value. The attribute should be added to an appropriate artifact.
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 Attribute.java.
org.sleuthkit.datamodel.Attribute.Attribute | ( | BlackboardAttribute.Type | attributeType, |
long | valueLong | ||
) | throws IllegalArgumentException |
Constructs an attribute with a long/datetime value. The attribute should be added to an appropriate artifact.
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 70 of file Attribute.java.
org.sleuthkit.datamodel.Attribute.Attribute | ( | BlackboardAttribute.Type | attributeType, |
double | valueDouble | ||
) | throws IllegalArgumentException |
Constructs an attribute with a double value. The attribute should be added to an appropriate artifact.
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 86 of file Attribute.java.
org.sleuthkit.datamodel.Attribute.Attribute | ( | BlackboardAttribute.Type | attributeType, |
String | valueString | ||
) | throws IllegalArgumentException |
Constructs an attribute with a string value. The attribute should be added to an appropriate artifact.
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 102 of file Attribute.java.
org.sleuthkit.datamodel.Attribute.Attribute | ( | BlackboardAttribute.Type | attributeType, |
byte[] | valueBytes | ||
) | throws IllegalArgumentException |
Constructs an attribute with a byte array value. The attribute should be added to an appropriate artifact.
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 118 of file Attribute.java.
boolean org.sleuthkit.datamodel.Attribute.equals | ( | Object | that | ) |
Definition at line 191 of file Attribute.java.
final long org.sleuthkit.datamodel.Attribute.getAttributeParentId | ( | ) |
Gets the parent Id of this attribute. A parent is defined as the Object to which this attribute is associated with. Eg: For a file Attribute the attribute parent id would be the file object id.
Definition at line 152 of file Attribute.java.
long org.sleuthkit.datamodel.Attribute.getId | ( | ) |
int org.sleuthkit.datamodel.Attribute.hashCode | ( | ) |
Definition at line 184 of file Attribute.java.
References org.sleuthkit.datamodel.AbstractAttribute.getAttributeType(), org.sleuthkit.datamodel.AbstractAttribute.getValueBytes(), org.sleuthkit.datamodel.AbstractAttribute.getValueDouble(), org.sleuthkit.datamodel.AbstractAttribute.getValueInt(), org.sleuthkit.datamodel.AbstractAttribute.getValueLong(), and org.sleuthkit.datamodel.AbstractAttribute.getValueString().
String org.sleuthkit.datamodel.Attribute.toString | ( | ) |
Definition at line 202 of file Attribute.java.
References org.sleuthkit.datamodel.AbstractAttribute.getAttributeType(), org.sleuthkit.datamodel.AbstractAttribute.getValueBytes(), org.sleuthkit.datamodel.AbstractAttribute.getValueDouble(), org.sleuthkit.datamodel.AbstractAttribute.getValueInt(), org.sleuthkit.datamodel.AbstractAttribute.getValueLong(), and org.sleuthkit.datamodel.AbstractAttribute.getValueString().
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.