views:

302

answers:

3

Is there any good library for reading / writing DBF files in java or any other language ?

+1  A: 

Its easy to get to via OleDB provider, such as via .Net, Visual Foxpro would obviously be able to read it natively.

DRapp
+1  A: 

A quick google for dbase and jdbc brought back a number of links for an xbase jdbc driver called StelsDBF. Can't say I've used it or know more than a quick google, but that would be my Java answer.

An alternative Java solution would be to set up an ODBC data source for dbase and then use the JdbcOdbc bridge

beny23
+1  A: 

I've used the JDBC driver from HXTT. It is type-4 (pure java) and worked well. My experience with the JdbcOdbc bridge for the same task was quite poor but that may have changed in newer releases. HXTT's driver is a commercial product.

crmoore