Used for reading data from an Excel or CSV file one row at a time. This is useful when reading a large data file.
Method DetailcloseReader() Closes the reader and releases resources. Since: 11-20-2019 String[] getColumns() Returns the column names obtained from the first line in the file. Returns: String[] Since: 06-20-2020 moveTo(int line) Advances the reader to the specified record. This can be called only forward. Line 0 is the field names. Data records start at line 1.
Parameters:
Since: 11-20-2019 Data readData() Reads the next line of data. Returns null if there are no more rows to read. Returns: Data Since: 11-20-2019 String toString() Returns a description of this object. Returns: String Since: 11-20-2019 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Dec 03, 2024 10:24 AM |