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 TypeMethodDescriptionvoid
add
(DbfException error) Adds a DbfException to the errors list.void
add
(DbfNestedException error) getError
(int i) Returns the DbfException from the errors list at the argument index.int
Returns the number of errors.Returns an unmodifiable list of the DbfException objects.void
Prints 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:DefaultDbfRecordIndexSet
Prints out the data for this record index set to System.out.- Specified by:
printData
in interfaceDbfRecordIndexSet
- Overrides:
printData
in classDefaultDbfRecordIndexSet
-