|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bbn.openmap.dataAccess.shape.input.DbfInputStream
public class DbfInputStream
Reads the contents of a DBF file and provides access to what it has read through several get methods
| Constructor Summary | |
|---|---|
DbfInputStream(java.io.InputStream is)
Creates a LittleEndianInputStream then uses it to read the contents of the DBF file |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbfInputStream(java.io.InputStream is)
throws java.lang.Exception
is - An InputStream used to create a LittleEndianInputStream
java.lang.Exception| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||