public class Dbf
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Dbf.Field
This class describes the structure of one field (column) in the DBF table.
|
| Modifier and Type | Field and Description |
|---|---|
Dbf.Field[] |
fields
Ordered array of Field definitions for the DBF file.
|
java.util.ArrayList<java.lang.Object[]> |
records
Ordered list of records read from the DBF file.
|
| Constructor and Description |
|---|
Dbf(java.io.File dbfFile)
Read a DBF file and get all its data into memory.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
Unit test method for dumping the contents of a DBF database.
|
public final Dbf.Field[] fields
public java.util.ArrayList<java.lang.Object[]> records
fields array.public Dbf(java.io.File dbfFile)
throws java.io.IOException
dbfFile - File identifying the DBF file in the filesystemjava.io.IOException - if DBF file could not be read for any reasonpublic static void main(java.lang.String[] args)
throws java.io.IOException
args - String array of command line parametersjava.io.IOException - if DBF file could not be read for any reason