but its code is not available
It is available here. A tarball is also available.
If it's on sourceforge, it's likely open-source.
Parsing the C++ or turning it into a JNI-compatible system(latter may be worthwhile due to low-level access by the C++ code) is up to you.