Sleuth Kit Java Bindings (JNI)
4.11.0
Java bindings for using The Sleuth Kit
|
Public Member Functions | |
void | addAttribute (BlackboardAttribute bbatr) throws TskCoreException |
void | addAttributes (Collection< BlackboardAttribute > bbatrs) throws TskCoreException |
Account | getAccount () throws TskCoreException |
BlackboardAttribute | getAttribute (BlackboardAttribute.ATTRIBUTE_TYPE attrType) throws TskCoreException |
Content | getFile () throws TskCoreException |
An instance of an Account in a specific file. An Account may be found in multiple Content objects (such as different databases) on a single device. There is a 1:N relationship between Account objects and AccountFileInstance objects. A TSK_ACCOUNT artifact is created for every account file instance.
AccountFileInstances can optionally have BlackboardAttributes to store more details.
Definition at line 32 of file AccountFileInstance.java.
void org.sleuthkit.datamodel.AccountFileInstance.addAttribute | ( | BlackboardAttribute | bbatr | ) | throws TskCoreException |
Adds an attribute. It is faster to add multiple attributes as a collection using addAttributes().
bbatr | The attribute to add. |
TskCoreException | if an there is an error adding the attribute. |
Definition at line 63 of file AccountFileInstance.java.
References org.sleuthkit.datamodel.BlackboardArtifact.addAttribute().
void org.sleuthkit.datamodel.AccountFileInstance.addAttributes | ( | Collection< BlackboardAttribute > | bbatrs | ) | throws TskCoreException |
Adds a collection of attributes
bbatrs | The collection of attributes to add. |
TskCoreException | if an there is an error adding the attributes. |
Definition at line 74 of file AccountFileInstance.java.
References org.sleuthkit.datamodel.BlackboardArtifact.addAttributes().
Account org.sleuthkit.datamodel.AccountFileInstance.getAccount | ( | ) | throws TskCoreException |
Gets the underlying Account for this instance.
TskCoreException | if an there is an error getting the account. |
Definition at line 85 of file AccountFileInstance.java.
Referenced by org.sleuthkit.datamodel.blackboardutils.CommunicationArtifactsHelper.addCalllog(), and org.sleuthkit.datamodel.blackboardutils.CommunicationArtifactsHelper.addMessage().
BlackboardAttribute org.sleuthkit.datamodel.AccountFileInstance.getAttribute | ( | BlackboardAttribute.ATTRIBUTE_TYPE | attrType | ) | throws TskCoreException |
Gets the first occurrence of an attribute by type.
attrType | The attribute type. |
TskCoreException | if an there is an error getting the attribute. |
Definition at line 51 of file AccountFileInstance.java.
References org.sleuthkit.datamodel.BlackboardArtifact.getAttribute().
Content org.sleuthkit.datamodel.AccountFileInstance.getFile | ( | ) | throws TskCoreException |
Gets the source content (data source or file within a data source) of the underlying Account artifact for this instance.
TskCoreException |
Definition at line 97 of file AccountFileInstance.java.
References org.sleuthkit.datamodel.SleuthkitCase.getContentById(), org.sleuthkit.datamodel.BlackboardArtifact.getObjectID(), and org.sleuthkit.datamodel.BlackboardArtifact.getSleuthkitCase().
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.