Package hec.io.dbf
Class DbfResultSet
java.lang.Object
hec.io.dbf.DefaultDbfRecordIndexSet
hec.io.dbf.DbfResultSet
- All Implemented Interfaces:
DbfRecordIndexSet,Serializable
- Direct Known Subclasses:
DbfQueryResultSet,DbfWriteResultSet
An object that contains the records and errors that were generated from a
dbf file query.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDbfResultSet(DbfRecordIndexSet recordIndexSet) Constructs a DbfResultSet object with the argument record index set. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(DbfException error) Adds a DbfException to the errors list.voidadd(DbfNestedException error) getError(int i) Returns the DbfException from the errors list at the argument index.intReturns the number of errors.Returns an unmodifiable list of the DbfException objects.voidPrints out the data for this record index set to System.out.Methods inherited from class hec.io.dbf.DefaultDbfRecordIndexSet
getIndexFileName, getIndexTagKeys, getIndexTagName, hasIndex
-
Constructor Details
-
DbfResultSet
Constructs a DbfResultSet object with the argument record index set.
-
-
Method Details
-
getErrorCount
public int getErrorCount()Returns the number of errors. -
add
Adds a DbfException to the errors list. -
add
-
getError
Returns the DbfException from the errors list at the argument index. -
getErrors
Returns an unmodifiable list of the DbfException objects. -
printData
public void printData()Description copied from class:DefaultDbfRecordIndexSetPrints out the data for this record index set to System.out.- Specified by:
printDatain interfaceDbfRecordIndexSet- Overrides:
printDatain classDefaultDbfRecordIndexSet
-