Java API completed. Released version 0.2.2.