public class DbfInputStream
extends java.lang.Object
Constructor and Description |
---|
DbfInputStream(java.io.InputStream is)
Creates a LittleEndianInputStream then uses it to read the contents of the
DBF file
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Returns the number of columns
|
java.lang.String[] |
getColumnNames()
Returns an array of column names
|
byte[] |
getDecimalCounts()
Returns an array of decimal counts
|
int[] |
getLengths()
Returns an array of character lengths
|
java.util.List<java.util.List<java.lang.Object>> |
getRecords()
Returns an ArrayList of records
|
int |
getRowCount()
Returns the number of rows
|
byte[] |
getTypes()
Returns an array of field types
|
void |
readData()
Reads the data and places data in a class scope ArrayList of records
|
public DbfInputStream(java.io.InputStream is) throws java.lang.Exception
is
- An InputStream used to create a LittleEndianInputStreamjava.lang.Exception
public java.lang.String[] getColumnNames()
public int[] getLengths()
public byte[] getDecimalCounts()
public byte[] getTypes()
public java.util.List<java.util.List<java.lang.Object>> getRecords()
public int getColumnCount()
public int getRowCount()
public void readData() throws java.io.IOException
java.io.IOException
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details