uk.ac.starlink.votable
Interface RowStepper


public interface RowStepper

Interface describing an object which can read a set of table data rows sequentially. The readRow method iterates through all the rows in the table, then returns null.


Method Summary
 Object[] nextRow()
          Returns the next available row from the table as an array of objects, or null if the end of the table has been reached.
 

Method Detail

nextRow

public Object[] nextRow()
                 throws IOException
Returns the next available row from the table as an array of objects, or null if the end of the table has been reached. Each invocation will return an array with the same number of elements.

Returns:
an array of objects representing the data in the row
Throws:
IOException - if there is I/O trouble

Copyright © 2004 CLRC: Central Laboratory of the Research Councils. All rights reserved.