Mar 21, 2013

GExcelAPI 0.3 Released!

GExcelAPI is a Groovy-Excel Wrapper introduced at the entry http://nobeans-en.blogspot.jp/2011/11/gexcelapi-for-groovyist-using-ms-excel.html.

Changelog of 0.3 is very tiny.
  • Supported Java 7
  • Upgraded POI to 3.9
You can get from the following repositories:
Sample of usage:
  1. @GrabResolver(name="my", root="https://repository-kobo.forge.cloudbees.com/release")  
  2. @Grab("org.jggug.kobo:gexcelapi:0.3")  
  3. import org.jggug.kobo.gexcelapi.GExcel  
  4.   
  5. def book = GExcel.open(args[0])  
  6.   
  7. assert book.sheets[0].A1.value == "Sheet1-A1"  
The unit tests make the API look good: