1 | initial version |
I guess that a google search does a lot for you. This is a complete project, which uses the C++ interface, but it shouldn't be that hard to track the corresponding Java functionality.
Go have a look and see if it pleases your needs!