You can create a dll file with delphi or ... and then write a method that call your API in dll unit.
After compile dll file you can use this dll in java class with System.load(DllPath)
and declare a native method isotope to dll method and then call it.