TSK Java Bindings

From SleuthKitWiki
Revision as of 11:38, 11 November 2011 by Carrier (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The Java bindings for TSK are in the official github repository as of version 3.3 (which may not be released yet) in the ['bindings/java'] directory. They populate the SQLite database with the file system metadata and then create Java classes that encapsulate the data. These are used for Autopsy 3.

Refer to the [README.txt] file for building and using the bindings. The Javadocs are available HERE.


Developer Notes

This section contains some basic information on the Java/JNI code if you want to modify it.

  • The SleuthkitJNI class has the static Java methods that refer to the native C++ methods.
  • The naming convention thus far has been to end the native methods with "Nat" (loadDbNat(), for example).
  • When you make changes to the native method APIs, you can automatically make a new ".h" file by running the "jni" target in the "build.xml" ANT file. It will place the .h file in the tsk_jni folder.