Adds doc for the c-api, a java class to the jni bindings.

Signed-off-by: Raphael Catolino <raphael.catolino@gmail.com>