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 TypeMethodDescriptionvoidcopyDataInto(DbfRecord rec) Copies the data from the argument Dbf Record into this Dbf Record.getData()Returns the field data vector.intbooleanhasData()Returns true if this record has field data.booleanvoidPrints to standard out the record number and field data of this record.voidSets the field data vector.voidsetIndexTagKey(Serializable indexTagKey) voidsetIndexTagKeyColumn(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.
-