Package hec.io.dbf
Class DbfRecord
java.lang.Object
hec.io.dbf.DbfRecord
- All Implemented Interfaces:
Serializable
A class that represents one row of a DBF file.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDbfRecord
(Serializable indexTagKey, Vector data) Constructs a record for the argument data using an undefined record number. -
Method Summary
Modifier and TypeMethodDescriptionvoid
copyDataInto
(DbfRecord rec) Copies the data from the argument Dbf Record into this Dbf Record.getData()
Returns the field data vector.int
boolean
hasData()
Returns true if this record has field data.boolean
void
Prints to standard out the record number and field data of this record.void
Sets the field data vector.void
setIndexTagKey
(Serializable indexTagKey) void
setIndexTagKeyColumn
(int i)
-
Constructor Details
-
DbfRecord
-
DbfRecord
Constructs a record for the argument data using an undefined record number.
-
-
Method Details
-
copyDataInto
Copies the data from the argument Dbf Record into this Dbf Record. -
hasIndexTagKey
public boolean hasIndexTagKey() -
getIndexTagKey
-
setIndexTagKey
-
setIndexTagKeyColumn
public void setIndexTagKeyColumn(int i) -
getIndexTagKeyColumn
public int getIndexTagKeyColumn() -
setData
Sets the field data vector. -
getData
Returns the field data vector. -
hasData
public boolean hasData()Returns true if this record has field data. -
printData
public void printData()Prints to standard out the record number and field data of this record.
-