Package hec.io.dbf

Class DbfResultSet

All Implemented Interfaces:
DbfRecordIndexSet, Serializable
Direct Known Subclasses:
DbfQueryResultSet, DbfWriteResultSet

public class DbfResultSet extends DefaultDbfRecordIndexSet
An object that contains the records and errors that were generated from a dbf file query.
See Also:
  • Constructor Details

    • DbfResultSet

      public DbfResultSet(DbfRecordIndexSet recordIndexSet)
      Constructs a DbfResultSet object with the argument record index set.
  • Method Details

    • getErrorCount

      public int getErrorCount()
      Returns the number of errors.
    • add

      public void add(DbfException error)
      Adds a DbfException to the errors list.
    • add

      public void add(DbfNestedException error)
    • getError

      public DbfException getError(int i)
      Returns the DbfException from the errors list at the argument index.
    • getErrors

      public List 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 interface DbfRecordIndexSet
      Overrides:
      printData in class DefaultDbfRecordIndexSet