implemented jni getter
Merge pull request #18 from 0x7f/master

implemented jni getter