Java bindings for libgfapi, similar to java.io